Taddes Kroes 14 gadi atpakaļ
vecāks
revīzija
8be052ac51
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      pquery.sql.php
  2. 1 1
      pquery.template.php

+ 1 - 1
pquery.sql.php

@@ -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*\]/';

+ 1 - 1
pquery.template.php

@@ -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: