Commit 8be052ac authored by Taddes Kroes's avatar Taddes Kroes

Updated docs.

parent 729e3ced
......@@ -7,7 +7,7 @@
/**
* @todo Documentation
* @property $query Alias for {@link pQuery::variable}.
* @property $query The query that is being evaluated.
*/
class pQuerySql extends pQuery implements pQueryExtension {
const VARIABLE_PATTERN = '/\[\s*%s\s*\]/';
......
......@@ -146,6 +146,7 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
* @param string $variable The variable to replace.
* @param Block $data The data block to search in for the value.
* @returns string The variable's value if it exists, the original string otherwise.
* @todo Implement translations
*/
static function parse_variable($variable, $data) {
$parts = explode(':', $variable);
......@@ -154,7 +155,6 @@ class pQueryTemplate extends pQuery implements pQueryExtension {
switch( $name ) {
case '_':
// TODO: translations
return '--translation--';
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment