100+ results results for 'class String' (1396 ms)
44 */ 45class PHPExcel_Reader_HTML implements PHPExcel_Reader_IReader 46{ 49 * 50 * @var string 51 */ 120 * 121 * @param string $pFileName 122 * @return boolean 142 * 143 * @param string $pFilename 144 * @return PHPExcel 177 * 178 * @param string $pValue Input encoding 179 */CGridView.php https://github.com/joshuaswarren/weatherhub.git | PHP | 545 lines
96 * When a column is specified as an array, it will be used to create a grid column instance, where 97 * the 'class' element specifies the column class name (defaults to {@link CDataColumn} if absent). 98 * Currently, these official column classes are provided: {@link CDataColumn}, 218 /** 219 * @var string the CSS class name that will be assigned to the widget container element 220 * when the widget is updating its content via AJAX. Defaults to 'grid-view-loading'. 325 * Creates a {@link CDataColumn} based on a shortcut column specification string. 326 * @param string $text the column specification string 327 * @return CDataColumn the column instance 356 'pagerClass'=>$this->pagerCssClass, 357 'loadingClass'=>$this->loadingCssClass, 358 'filterClass'=>$this->filterCssClass, 358 'filterClass'=>$this->filterCssClass, 359 'tableClass'=>$this->itemsCssClass, 360 'selectableRows'=>$this->selectableRows,CActiveForm.php https://github.com/joshuaswarren/weatherhub.git | PHP | 752 lines
203 * to indicate the state change. If not set, it means the closest 'div' element that contains the input field.</li> 204 * <li>errorCssClass: string, the CSS class to be assigned to the container whose associated input 205 * has AJAX validation error. Defaults to 'error'.</li> 205 * has AJAX validation error. Defaults to 'error'.</li> 206 * <li>successCssClass: string, the CSS class to be assigned to the container whose associated input 207 * passes AJAX validation without any error. Defaults to 'success'.</li> 207 * passes AJAX validation without any error. Defaults to 'success'.</li> 208 * <li>validatingCssClass: string, the CSS class to be assigned to the container whose associated input 209 * is currently being validated via AJAX. Defaults to 'validating'.</li> 209 * is currently being validated via AJAX. Defaults to 'validating'.</li> 210 * <li>errorMessageCssClass: string, the CSS class assigned to the error messages returned 211 * by AJAX validations. Defaults to 'errorMessage'.</li> 249 * They include: validationDelay, validateOnChange, validateOnType, hideErrorMessage, 250 * inputContainer, errorCssClass, successCssClass, validatingCssClass, beforeValidateAttribute, afterValidateAttribute. 251 */CJSON.php https://github.com/joshuaswarren/weatherhub.git | PHP | 704 lines
93 * If var is a string, it will be converted to UTF-8 format first before being encoded. 94 * @return string JSON string representation of input var 95 */ 290 * 291 * @param string $str string value to strip of comments and whitespace 292 * 292 * 293 * @return string string value stripped of comments and whitespace 294 * @access private 317 * 318 * @param string $str JSON-formatted string 319 * @param boolean $useArray whether to use associative array to represent object data 319 * @param boolean $useArray whether to use associative array to represent object data 320 * @return mixed number, boolean, string, array, or object corresponding to given JSON input string. 321 * Note that decode() always returns strings in ASCII or UTF-8 format!CHtml.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1257 lines
23 /** 24 * @var string the CSS class for displaying error summaries (see {@link errorSummary}). 25 */ 27 /** 28 * @var string the CSS class for displaying error messages (see {@link error}). 29 */ 31 /** 32 * @var string the CSS class for highlighting error inputs. Form inputs will be appended 33 * with this CSS class if they have input errors. 36 /** 37 * @var string the CSS class for required labels. Defaults to 'required'. 38 * @see label 154 * Encloses the given string within a CDATA tag. 155 * @param string $text the string to be enclosed 156 * @return string the CDATA tag with the enclosed content.CForm.php https://github.com/joshuaswarren/weatherhub.git | PHP | 604 lines
90 /** 91 * @var string the name of the class for representing a form input element. Defaults to 'CFormInputElement'. 92 */ 109 * The widget will be used to render the form tag and the error messages. 110 * The 'class' option is required, which specifies the class of the widget. 111 * The rest of the options will be passed to {@link CBaseController::beginWidget()} call. 208 { 209 $class=get_class($this->_model); 210 if(strcasecmp($this->getRoot()->method,'get')) 319 * Each input configuration array consists of name-value pairs that are used to initialize 320 * a {@link CFormStringElement} object (when 'type' is 'string'), a {@link CFormElement} object 321 * (when 'type' is a string ending with 'Form'), or a {@link CFormInputElement} object in 382 { 383 $class=$options['class']; 384 unset($options['class']);CWebUser.php https://github.com/joshuaswarren/weatherhub.git | PHP | 778 lines
63 /** 64 * @var string the name for a guest user. Defaults to 'Guest'. 65 * This is used by {@link getName} when the current user is a guest (not authenticated). 68 /** 69 * @var string|array the URL for login. If using array, the first element should be 70 * the route to the login action, and the rest name-value pairs are GET parameters 114 * This method is overriden so that persistent states can be accessed like properties. 115 * @param string $name property name 116 * @return mixed property value 159 * This method is overriden so that persistent states can also be unset. 160 * @param string $name property name 161 * @throws CException if the property is read only. 220 throw new CException(Yii::t('yii','{class}.allowAutoLogin must be set true in order to use cookie-based authentication.', 221 array('{class}'=>get_class($this)))); 222 }CPhpAuthManager.php https://github.com/joshuaswarren/weatherhub.git | PHP | 500 lines
2/** 3 * CPhpAuthManager class file. 4 * 25 */ 26class CPhpAuthManager extends CAuthManager 27{ 28 /** 29 * @var string the path of the PHP script that contains the authorization data. 30 * If not set, it will be using 'protected/data/auth.php' as the data file. 56 * Performs access check for the specified user. 57 * @param string $itemName the name of the operation that need access check 58 * @param mixed $userId the user ID. This should can be either an integer and a string representing 90 * Adds an item as a child of another item. 91 * @param string $itemName the parent item name 92 * @param string $childName the child item nameCDbAuthManager.php https://github.com/joshuaswarren/weatherhub.git | PHP | 595 lines
2/** 3 * CDbAuthManager class file. 4 * 23 */ 24class CDbAuthManager extends CAuthManager 25{ 26 /** 27 * @var string the ID of the {@link CDbConnection} application component. Defaults to 'db'. 28 * The database must have the tables as declared in "framework/web/auth/*.sql". 31 /** 32 * @var string the name of the table storing authorization items. Defaults to 'AuthItem'. 33 */ 35 /** 36 * @var string the name of the table storing authorization item hierarchy. Defaults to 'AuthItemChild'. 37 */CWebApplication.php https://github.com/joshuaswarren/weatherhub.git | PHP | 543 lines
54 * @property CTheme $theme the theme used currently 55 * @property string $controllerPath the directory that contains the controller classes 56 * @property string $layoutPath the root directory of layout files 74 * A controller configuration can be either a string or an array. 75 * If the former, the string should be the class name or 76 * {@link YiiBase::getPathOfAlias class path alias} of the controller. 345 require($classFile); 346 if(class_exists($className,false) && is_subclass_of($className,'CController')) 347 { 397 /** 398 * @return string the directory that contains the controller classes. Defaults to 'protected/controllers'. 399 */ 408 /** 409 * @param string $value the directory that contains the controller classes. 410 * @throws CException if the directory is invalidCUrlManager.php https://github.com/joshuaswarren/weatherhub.git | PHP | 844 lines
103 * </pre> 104 * Please note that the custom URL rule class should extend from {@link CBaseUrlRule} and 105 * implement the following two methods, 185 /** 186 * @var string the class name or path alias for the URL rule instances. Defaults to 'CUrlRule'. 187 * If you change this to something else, please make sure that the new class must extend from 246 * @param mixed $route the route part of the rule. This could be a string or an array 247 * @param string $pattern the pattern part of the rule 248 * @return CUrlRule the URL rule instance 252 { 253 if(is_array($route) && isset($route['class'])) 254 return $route; 411 * @param string $key this is used internally. 412 * @return string the created path info 413 * @since 1.0.3CSort.php https://github.com/joshuaswarren/weatherhub.git | PHP | 440 lines
52 * @var string the name of the model class whose attributes can be sorted. 53 * The model class must be a child class of {@link CActiveRecord}. 54 */ 182 * Constructor. 183 * @param string $modelClass the class name of data models that need to be sorted. 184 * This should be a child class of {@link CActiveRecord}. 187 { 188 $this->modelClass=$modelClass; 189 } 271 if(isset($htmlOptions['class'])) 272 $htmlOptions['class'].=' '.$class; 273 else 273 else 274 $htmlOptions['class']=$class; 275 $descending=!$directions[$attribute];CHttpRequest.php https://github.com/joshuaswarren/weatherhub.git | PHP | 999 lines
119 * If both GET and POST contains such a named parameter, the GET parameter takes precedence. 120 * @param string $name the GET parameter name 121 * @param mixed $defaultValue the default parameter value if the GET parameter does not exist. 134 * If the GET parameter does not exist, the second parameter to this method will be returned. 135 * @param string $name the GET parameter name 136 * @param mixed $defaultValue the default parameter value if the GET parameter does not exist. 224 * @param string $schema schema to use (e.g. http, https). If empty, the schema used for the current request will be used. 225 * @return string schema and hostname part (with port number if needed) of the request URL (e.g. http://www.yiiframework.com) 226 * @see setHostInfo 281 * This parameter has been available since 1.0.2. 282 * @return string the relative URL for the application 283 * @see setScriptUrl 379 * This refers to the portion that is after the {@link hostInfo host info} part. 380 * It includes the {@link queryString query string} part if any. 381 * The implementation of this method referenced Zend_Controller_Request_Http in Zend Framework.CController.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1254 lines
18 * 1. Method-based action: call method 'actionXYZ' if it exists; 19 * 2. Class-based action: create an instance of class 'XYZ' if the class is found in the action class map 20 * (specified via {@link actions()}, and execute the action; 137 * 138 * Note, in order to inherit filters defined in the parent class, a child class needs to 139 * merge the parent filters with child filters using functions like array_merge(). 179 * 'pro2.'=>array( 180 * 'class'=>'path.to.ProviderClass', 181 * 'action1'=>array( 210 * 'behaviorName'=>array( 211 * 'class'=>'path.to.BehaviorClass', 212 * 'property1'=>'value1', 411 if($action!==null && !method_exists($action,'run')) 412 throw new CException(Yii::t('yii', 'Action class {class} must implement the "run" method.', array('{class}'=>get_class($action)))); 413 return $action;markdown.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1790 lines
15# 16# Markdown Parser Class 17# 18 19class Markdown_Parser { 20 182 $this->titles[$link_id] =& $matches[3]; 183 return ''; # String that will replace the block 184 } 349 $this->html_hashes[$key] = $text; 350 return $key; # String that will replace the tag. 351 }HTMLPurifier.standalone.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1317 lines
73 */ 74class HTMLPurifier 75{ 127 * 128 * @param $html String of HTML to purify 129 * @param $config HTMLPurifier_Config object for this operation, if omitted, 175 if (strpos($filter, '.') !== false) continue; 176 $class = "HTMLPurifier_Filter_$filter"; 177 $filters[] = new $class; 264 265class HTMLPurifier_AttrCollections 266{ 301 $this->performInclusions($this->info[$name]); 302 // replace string identifiers with actual attribute objects 303 $this->expandIdentifiers($this->info[$name], $attr_types);SQL.php https://github.com/joshuaswarren/weatherhub.git | PHP | 401 lines
2/** 3 * Auto-generated class. SQL syntax highlighting 4 * 25/** 26 * Auto-generated class. SQL syntax highlighting 27 * 35 */ 36class Text_Highlighter_SQL extends Text_Highlighter 37{ 152 3 => 'identifier', 153 4 => 'string', 154 5 => 'code', 251 'reserved' => '/^((?i)absolute|action|add|admin|after|aggregate|alias|all|allocate|alter|and|any|are|array|as|asc|assertion|at|authorization|before|begin|binary|bit|blob|boolean|both|breadth|by|call|cascade|cascaded|case|cast|catalog|char|character|check|class|clob|close|collate|collation|column|commit|completion|connect|connection|constraint|constraints|constructor|continue|corresponding|create|cross|cube|current|current_date|current_path|current_role|current_time|current_timestamp|current_user|cursor|cycle|data|date|day|deallocate|dec|decimal|declare|default|deferrable|deferred|delete|depth|deref|desc|describe|descriptor|destroy|destructor|deterministic|diagnostics|dictionary|disconnect|distinct|domain|double|drop|dynamic|each|else|end|end-exec|equals|escape|every|except|exception|exec|execute|external|false|fetch|first|float|for|foreign|found|free|from|full|function|general|get|global|go|goto|grant|group|grouping|having|host|hour|identity|ignore|immediate|in|indicator|initialize|initially|inner|inout|input|insert|int|integer|intersect|interval|into|is|isolation|iterate|join|key|language|large|last|lateral|leading|left|less|level|like|limit|local|localtime|localtimestamp|locator|map|match|minute|modifies|modify|module|month|names|national|natural|nchar|nclob|new|next|no|none|not|null|numeric|object|of|off|old|on|only|open|operation|option|or|order|ordinality|out|outer|output|pad|parameter|parameters|partial|path|postfix|precision|prefix|preorder|prepare|preserve|primary|prior|privileges|procedure|public|read|reads|real|recursive|ref|references|referencing|relative|restrict|result|return|returns|revoke|right|role|rollback|rollup|routine|row|rows|savepoint|schema|scope|scroll|search|second|section|select|sequence|session|session_user|set|sets|size|smallint|some|space|specific|specifictype|sql|sqlexception|sqlstate|sqlwarning|start|state|statement|static|structure|system_user|table|temporary|terminate|than|then|time|timestamp|timezone_hour|timezone_minute|to|trailing|transaction|translation|treat|trigger|true|under|union|unique|unknown|unnest|update|usage|user|using|value|values|varchar|variable|varying|view|when|whenever|where|with|without|work|write|year|zone)$/', 252 'keyword' => '/^((?i)abs|ada|asensitive|assignment|asymmetric|atomic|avg|between|bitvar|bit_length|c|called|cardinality|catalog_name|chain|character_length|character_set_catalog|character_set_name|character_set_schema|char_length|checked|class_origin|coalesce|cobol|collation_catalog|collation_name|collation_schema|column_name|command_function|command_function_code|committed|condition_number|connection_name|constraint_catalog|constraint_name|constraint_schema|contains|convert|count|cursor_name|datetime_interval_code|datetime_interval_precision|defined|definer|dispatch|dynamic_function|dynamic_function_code|existing|exists|extract|final|fortran|g|generated|granted|hierarchy|hold|implementation|infix|insensitive|instance|instantiable|invoker|k|key_member|key_type|length|lower|m|max|message_length|message_octet_length|message_text|method|min|mod|more|mumps|name|nullable|nullif|number|octet_length|options|overlaps|overlay|overriding|parameter_mode|parameter_name|parameter_ordinal_position|parameter_specific_catalog|parameter_specific_name|parameter_specific_schema|pascal|pli|position|repeatable|returned_length|returned_octet_length|returned_sqlstate|routine_catalog|routine_name|routine_schema|row_count|scale|schema_name|security|self|sensitive|serializable|server_name|similar|simple|source|specific_name|style|subclass_origin|sublist|substring|sum|symmetric|system|table_name|transactions_committed|transactions_rolled_back|transaction_active|transform|transforms|translate|trigger_catalog|trigger_name|trigger_schema|trim|type|uncommitted|unnamed|upper|user_defined_type_catalog|user_defined_type_name|user_defined_type_schema)$/', 253 ), 291 'reserved' => '/^((?i)absolute|action|add|admin|after|aggregate|alias|all|allocate|alter|and|any|are|array|as|asc|assertion|at|authorization|before|begin|binary|bit|blob|boolean|both|breadth|by|call|cascade|cascaded|case|cast|catalog|char|character|check|class|clob|close|collate|collation|column|commit|completion|connect|connection|constraint|constraints|constructor|continue|corresponding|create|cross|cube|current|current_date|current_path|current_role|current_time|current_timestamp|current_user|cursor|cycle|data|date|day|deallocate|dec|decimal|declare|default|deferrable|deferred|delete|depth|deref|desc|describe|descriptor|destroy|destructor|deterministic|diagnostics|dictionary|disconnect|distinct|domain|double|drop|dynamic|each|else|end|end-exec|equals|escape|every|except|exception|exec|execute|external|false|fetch|first|float|for|foreign|found|free|from|full|function|general|get|global|go|goto|grant|group|grouping|having|host|hour|identity|ignore|immediate|in|indicator|initialize|initially|inner|inout|input|insert|int|integer|intersect|interval|into|is|isolation|iterate|join|key|language|large|last|lateral|leading|left|less|level|like|limit|local|localtime|localtimestamp|locator|map|match|minute|modifies|modify|module|month|names|national|natural|nchar|nclob|new|next|no|none|not|null|numeric|object|of|off|old|on|only|open|operation|option|or|order|ordinality|out|outer|output|pad|parameter|parameters|partial|path|postfix|precision|prefix|preorder|prepare|preserve|primary|prior|privileges|procedure|public|read|reads|real|recursive|ref|references|referencing|relative|restrict|result|return|returns|revoke|right|role|rollback|rollup|routine|row|rows|savepoint|schema|scope|scroll|search|second|section|select|sequence|session|session_user|set|sets|size|smallint|some|space|specific|specifictype|sql|sqlexception|sqlstate|sqlwarning|start|state|statement|static|structure|system_user|table|temporary|terminate|than|then|time|timestamp|timezone_hour|timezone_minute|to|trailing|transaction|translation|treat|trigger|true|under|union|unique|unknown|unnest|update|usage|user|using|value|values|varchar|variable|varying|view|when|whenever|where|with|without|work|write|year|zone)$/', 292 'keyword' => '/^((?i)abs|ada|asensitive|assignment|asymmetric|atomic|avg|between|bitvar|bit_length|c|called|cardinality|catalog_name|chain|character_length|character_set_catalog|character_set_name|character_set_schema|char_length|checked|class_origin|coalesce|cobol|collation_catalog|collation_name|collation_schema|column_name|command_function|command_function_code|committed|condition_number|connection_name|constraint_catalog|constraint_name|constraint_schema|contains|convert|count|cursor_name|datetime_interval_code|datetime_interval_precision|defined|definer|dispatch|dynamic_function|dynamic_function_code|existing|exists|extract|final|fortran|g|generated|granted|hierarchy|hold|implementation|infix|insensitive|instance|instantiable|invoker|k|key_member|key_type|length|lower|m|max|message_length|message_octet_length|message_text|method|min|mod|more|mumps|name|nullable|nullif|number|octet_length|options|overlaps|overlay|overriding|parameter_mode|parameter_name|parameter_ordinal_position|parameter_specific_catalog|parameter_specific_name|parameter_specific_schema|pascal|pli|position|repeatable|returned_length|returned_octet_length|returned_sqlstate|routine_catalog|routine_name|routine_schema|row_count|scale|schema_name|security|self|sensitive|serializable|server_name|similar|simple|source|specific_name|style|subclass_origin|sublist|substring|sum|symmetric|system|table_name|transactions_committed|transactions_rolled_back|transaction_active|transform|tSH.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1207 lines
2/** 3 * Auto-generated class. SH syntax highlighting 4 * 28/** 29 * Auto-generated class. SH syntax highlighting 30 * 38 */ 39class Text_Highlighter_SH extends Text_Highlighter 40{ 336 4 => 'special', 337 5 => 'string', 338 6 => 'string', 339 7 => 'comment', 340 8 => 'string', 341 9 => 'string',RUBY.php https://github.com/joshuaswarren/weatherhub.git | PHP | 807 lines
2/** 3 * Auto-generated class. RUBY syntax highlighting 4 * 10 * 11 * %q(a (nested) string) does not get highlighted correctly 12 * 32/** 33 * Auto-generated class. RUBY syntax highlighting 34 * 42 */ 43class Text_Highlighter_RUBY extends Text_Highlighter 44{ 265 0 => 'comment', 266 1 => 'string', 267 2 => 'string',PYTHON.php https://github.com/joshuaswarren/weatherhub.git | PHP | 629 lines
2/** 3 * Auto-generated class. PYTHON syntax highlighting 4 * 205 1 => 'string', 206 2 => 'string', 207 3 => 'string', 256 0 => 'string', 257 1 => 'string', 258 2 => 'string', 363 array ( 364 'builtin' => '/^(__import__|abs|apply|basestring|bool|buffer|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|min|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|round|setattr|slice|staticmethod|sum|super|str|tuple|type|unichr|unicode|vars|xrange|zip)$/', 365 ), 425 array ( 426 'builtin' => '/^(__import__|abs|apply|basestring|bool|buffer|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|min|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|round|setattr|slice|staticmethod|sum|super|str|tuple|type|unichr|unicode|vars|xrange|zip)$/', 427 ), 463 array ( 464 'builtin' => '/^(__import__|abs|apply|basestring|bool|buffer|callable|chr|classmethod|cmp|coerce|compile|complexPHP.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1089 lines
2/** 3 * Auto-generated class. PHP syntax highlighting 4 * 23/** 24 * Auto-generated class. PHP syntax highlighting 25 * 33 */ 34class Text_Highlighter_PHP extends Text_Highlighter 35{ 49 -1 => '/((?i)(\\<\\?(php|=)?)?)/', 50 0 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/', 51 1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)\\?\\>)|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/', 51 1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)\\?\\>)|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/', 52 2 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/', 53 3 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)`)|((?mi)\\<\\<\\<[\\x20\\x09]*(\\w+)$)|((?i)\')|((?i)(#|\\/\\/))|((?i)[a-z_]\\w*)|((?i)\\((array|int|integer|string|bool|boolean|object|float|double)\\))|((?i)0[xX][\\da-f]+)|((?i)\\$[a-z_]\\w*)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',PERL.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1334 lines
2/** 3 * Auto-generated class. PERL syntax highlighting 4 * 29/** 30 * Auto-generated class. PERL syntax highlighting 31 * 40 */ 41class Text_Highlighter_PERL extends Text_Highlighter 42{ 371 6 => 'special', 372 7 => 'string', 373 8 => 'string', 374 9 => 'comment', 375 10 => 'string', 376 11 => 'string',MYSQL.php https://github.com/joshuaswarren/weatherhub.git | PHP | 416 lines
2/** 3 * Auto-generated class. MYSQL syntax highlighting 4 * 23/** 24 * Auto-generated class. MYSQL syntax highlighting 25 * 33 */ 34class Text_Highlighter_MYSQL extends Text_Highlighter 35{ 155 4 => 'identifier', 156 5 => 'string', 157 6 => 'code', 157 6 => 'code', 158 7 => 'string', 159 8 => 'number',JAVASCRIPT.php https://github.com/joshuaswarren/weatherhub.git | PHP | 613 lines
2/** 3 * Auto-generated class. JAVASCRIPT syntax highlighting 4 * 23/** 24 * Auto-generated class. JAVASCRIPT syntax highlighting 25 * 33 */ 34class Text_Highlighter_JAVASCRIPT extends Text_Highlighter 35{ 208 3 => 'comment', 209 4 => 'string', 210 5 => 'string', 220 3 => 'comment', 221 4 => 'string', 222 5 => 'string',JAVA.php https://github.com/joshuaswarren/weatherhub.git | PHP | 441 lines
2/** 3 * Auto-generated class. JAVA syntax highlighting 4 * 23/** 24 * Auto-generated class. JAVA syntax highlighting 25 * 33 */ 34class Text_Highlighter_JAVA extends Text_Highlighter 35{ 244 3 => 'comment', 245 4 => 'string', 246 5 => 'string', 260 3 => 'comment', 261 4 => 'string', 262 5 => 'string',Generator.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1254 lines
6* To simplify the process of creating new syntax highlighters 7* for different languages, {@link Text_Highlighter_Generator} class is 8* provided. It takes highlighting rules from XML file and generates 44/** 45* Syntax highliter class generator class 46* 46* 47* This class is used to generate PHP classes 48* from XML files with highlighting rules 213 * @param string $params parameters 214 * @param string $fileName file name 215 * @param integer $lineNo line number 263 * 264 * @param string Filename (full path) 265 * @return booleanCPP.php https://github.com/joshuaswarren/weatherhub.git | PHP | 840 lines
2/** 3 * Auto-generated class. CPP syntax highlighting 4 * 29/** 30 * Auto-generated class. CPP syntax highlighting 31 * 40 */ 41class Text_Highlighter_CPP extends Text_Highlighter 42{ 267 array ( 268 0 => 'string', 269 1 => 'code', 284 array ( 285 0 => 'string', 286 1 => 'code',ABAP.php https://github.com/joshuaswarren/weatherhub.git | PHP | 505 lines
2/** 3 * Auto-generated class. ABAP syntax highlighting 4 * 27/** 28 * Auto-generated class. ABAP syntax highlighting 29 * 37 */ 38class Text_Highlighter_ABAP extends Text_Highlighter 39{ 178 3 => 'comment', 179 4 => 'string', 180 5 => 'identifier', 301 'sy' => '/^((?i)screen-name|screen-group1|screen-group2|screen-group3|screen-group4|screen-required|screen-input|screen-output|screen-intensified|screen-invisible|screen-length|screen-active|sy-index|sy-pagno|sy-tabix|sy-tfill|sy-tlopc|sy-tmaxl|sy-toccu|sy-ttabc|sy-tstis|sy-ttabi|sy-dbcnt|sy-fdpos|sy-colno|sy-linct|sy-linno|sy-linsz|sy-pagct|sy-macol|sy-marow|sy-tleng|sy-sfoff|sy-willi|sy-lilli|sy-subrc|sy-fleng|sy-cucol|sy-curow|sy-lsind|sy-listi|sy-stepl|sy-tpagi|sy-winx1|sy-winy1|sy-winx2|sy-winy2|sy-winco|sy-winro|sy-windi|sy-srows|sy-scols|sy-loopc|sy-folen|sy-fodec|sy-tzone|sy-dayst|sy-ftype|sy-appli|sy-fdayw|sy-ccurs|sy-ccurt|sy-debug|sy-ctype|sy-input|sy-langu|sy-modno|sy-batch|sy-binpt|sy-calld|sy-dynnr|sy-dyngr|sy-newpa|sy-pri40|sy-rstrt|sy-wtitl|sy-cpage|sy-dbnam|sy-mandt|sy-prefx|sy-fmkey|sy-pexpi|sy-prini|sy-primm|sy-prrel|sy-playo|sy-prbig|sy-playp|sy-prnew|sy-prlog|sy-pdest|sy-plist|sy-pauth|sy-prdsn|sy-pnwpa|sy-callr|sy-repi2|sy-rtitl|sy-prrec|sy-prtxt|sy-prabt|sy-lpass|sy-nrpag|sy-paart|sy-prcop|sy-batzs|sy-bspld|sy-brep4|sy-batzo|sy-batzd|sy-batzw|sy-batzm|sy-ctabl|sy-dbsys|sy-dcsys|sy-macdb|sy-sysid|sy-opsys|sy-pfkey|sy-saprl|sy-tcode|sy-ucomm|sy-cfwae|sy-chwae|sy-spono|sy-sponr|sy-waers|sy-cdate|sy-datum|sy-slset|sy-subty|sy-subcs|sy-group|sy-ffile|sy-uzeit|sy-dsnam|sy-repid|sy-tabid|sy-tfdsn|sy-uname|sy-lstat|sy-abcde|sy-marky|sy-sfnam|sy-tname|sy-msgli|sy-title|sy-entry|sy-lisel|sy-uline|sy-xcode|sy-cprog|sy-xprog|sy-xform|sy-ldbpg|sy-tvar0|sy-tvar1|sy-tvar2|sy-tvar3|sy-tvar4|sy-tvar5|sy-tvar6|sy-tvar7|sy-tvar8|sy-tvar9|sy-msgid|sy-msgty|sy-msgno|sy-msgv1|sy-msgv2|sy-msgv3|sy-msgv4|sy-oncom|sy-vline|sy-winsl|sy-staco|sy-staro|sy-datar|sy-host|sy-locdb|sy-locop|sy-datlo|sy-timlo|sy-zonlo|syst-index|syst-pagno|syst-tabix|syst-tfill|syst-tlopc|syst-tmaxl|syst-toccu|syst-ttabc|syst-tstis|syst-ttabi|syst-dbcnt|syst-fdpos|syst-colno|syst-linct|syst-linno|syst-linsz|syst-pagct|syst-macol|syst-marow|syst-tleng|syst-sfoff|syst-willi|syst-lilli|syst-subrc|syst-fleng|syst-cucol|syst-curow|syst-lsind|syst-listi|syst-stepl|syst-tpagi|syst-winx1|syst-winy1|syst-winx2|syst-winy2|syst-winco|syst-winro|syst-windi|syst-srows|syst-scols|syst-loopc|syst-folen|syst-fodec|syst-tzone|syst-dayst|syst-ftype|syst-appli|syst-fdayw|syst-ccurs|syst-ccurt|syst-debug|syst-ctype|syst-input|syst-langu|syst-modno|syst-batch|syst-binpt|syst-calld|syst-dynnr|syst-dyngr|syst-newpa|syst-pri40|syst-rstrt|syst-wtitl|syst-cpage|syst-dbnam|syst-mandt|syst-prefx|syst-fmkey|syst-pexpi|syst-prini|syst-primm|syst-prrel|syst-playo|syst-prbig|syst-playp|syst-prnew|syst-prlog|syst-pdest|syst-plist|syst-pauth|syst-prdsn|syst-pnwpa|syst-callr|syst-repi2|syst-rtitl|syst-prrec|syst-prtxt|syst-prabt|syst-lpass|syst-nrpag|syst-paart|syst-prcop|syst-batzs|syst-bspld|syst-brep4|syst-batzo|syst-batzd|syst-batzw|syst-batzm|syst-ctabl|syst-dbsys|syst-dcsys|syst-macdb|syst-sysid|syst-opsys|syst-pfkey|syst-saprl|syst-tcode|syst-ucomm|syst-cfwae|syst-chwae|syst-spono|syst-sponr|syst-waers|syst-cdate|syst-datum|syst-slset|syst-subty|syst-subcs|syst-group|syst-ffile|syst-uzeit|syst-dsnam|syst-repid|syst-tabid|syst-tfdsn|syst-uname|syst-lstat|syst-abcde|syst-marky|syst-sfnam|syst-tname|syst-msgli|syst-title|syst-entry|syst-lisel|syst-uline|syst-xcode|syst-cprog|syst-xprog|syst-xform|syst-ldbpg|syst-tvar0|syst-tvar1|syst-tvar2|syst-tvar3|syst-tvar4|syst-tvar5|syst-tvar6|syst-tvar7|syst-tvar8|syst-tvar9|syst-msgid|syst-msgty|syst-msgno|syst-msgv1|syst-msgv2|syst-msgv3|syst-msgv4|syst-oncom|syst-vline|syst-winsl|syst-staco|syst-staro|syst-datar|syst-host|syst-locdb|syst-locop|syst-datlo|syst-timlo|syst-zonlo)$/', 302 'reserved' => '/^((?i)abs|acos|add|add-corresponding|adjacent|after|aliases|all|analyzer|and|any|append|as|ascending|asin|assign|assigned|assigning|at|atan|authority-check|avg|back|before|begin|binary|bit|bit-and|bit-not|bit-or|bit-xor|blank|block|break-point|buffer|by|c|call|case|catch|ceil|centered|chain|change|changing|check|checkbox|class|class-data|class-events|class-methods|class-pool|clear|client|close|cnt|code|collect|color|comment|commit|communication|compute|concatenate|condense|constants|context|contexts|continue|control|controls|convert|copy|corresponding|cos|cosh|count|country|create|currency|cursor|customer-function|data|database|dataset|delete|decimals|default|define|demand|descending|describe|dialog|distinct|div|divide|divide-corresponding|do|duplicates|dynpro|edit|editor-call|else|elseif|end|end-of-definition|end-of-page|end-of-selection|endat|endcase|endcatch|endchain|endclass|enddo|endexec|endform|endfunction|endif|endinterface|endloop|endmethod|endmodule|endon|endprovide|endselect|endwhile|entries|events|exec|exit|exit-command|exp|exponent|export|exporting|exceptions|extended|extract|fetch|field|field-groups|field-symbols|fields|floor|for|form|format|frac|frame|free|from|function|function-pool|generate|get|group|hashed|header|help-id|help-request|hide|hotspot|icon|id|if|import|importing|include|index|infotypes|initialization|inner|input|insert|intensified|interface|interface-pool|interfaces|into|inverse|join|key|language|last|leave|left|left-justified|like|line|line-count|line-selection|line-size|lines|list-processing|load|load-of-program|local|locale|log|log10|loop|m|margin|mask|matchcode|max|memory|message|message-id|messages|method|methods|min|mod|mode|modif|modify|module|move|move-corresponding|multiply|multiply-corresponding|new|new-line|new-page|next|no|no-gap|no-gaps|no-heading|no-scrolling|no-sign|no-title|no-zero|nodes|non-unique|o|object|obligatory|occurs|of|off|on|open|or|order|others|outer|output|overlay|pack|page|parameter|parameters|perform|pf-status|position|print|print-control|private|process|program|property|protected|provide|public|put|radiobutton|raise|raising|range|ranges|read|receive|refresh|reject|replace|report|requested|reserve|reset|right-justified|rollback|round|rows|rtti|run|scan|screen|search|separated|scroll|scroll-boundary|select|select-options|selection-screen|selection-table|set|shared|shift|sign|sin|single|sinh|size|skip|sort|sorted|split|sql|sqrt|stamp|standard|start-of-selection|statics|stop|string|strlen|structure|submit|subtract|subtract-corresponding|sum|supply|suppress|symbol|syntax-check|syntax-trace|system-call|system-exceptions|table|table_line|tables|tan|tanh|text|textpool|time|times|title|titlebar|to|top-of-page|transaction|transfer|translate|transporting|trunc|type|type-pool|type-pools|types|uline|under|unique|unit|unpack|up|update|user-command|using|value|value-request|values|vary|when|where|while|window|with|with-title|work|write|x|xstring|z|zone)$/', 303 'constants' => '/^((?i)initial|null|space|col_background|col_heading|col_normal|col_total|col_key|col_positive|col_negative|col_group)$/',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 207 lines
20 'Active Record requires a "db" CDbConnection application component.' => 'Active Record 需要一個名為 "db" 的 CDbConnection 應用程式元件.', 21 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" 對於關聯 "{relation}" 有一個無效的組態設定. 必須給定關聯種類, 相關的 active record class 以及 foreign key.', 22 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" 正嘗試選擇一個無效的欄位 "{column}". 注意, 該欄位必須存在於 table 中或者是一個具別名的 expression.', 38 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection 狀態為未啟用, 無法進行任何資料庫動作.', 39 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString 不能是空的.', 40 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader 無法倒回, 只允許向前讀取.', 80 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => '錯誤: Table "{table}" 有一個不被 crud 命令所支援的合成主鍵.', 81 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => '事件 "{class}.{event}" 附加了一個無效的 handler "{handler}".', 82 'Event "{class}.{event}" is not defined.' => '事件 "{class}.{event}" 未定義.', 84 'File upload was stopped by extension.' => '檔案上傳被 extension 所停止.', 85 'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => '篩選器 "{filter}" 是無效的. 控制器 "{class}" 沒有名為 "filter{filter}" 的篩選器方法.', 86 'Get a new code' => '取得一組新代碼', 101 'Queue data must be an array or an object implementing Traversable.' => '佇列資料必須是一個陣列或一個實作 Traversable 的物件.', 102 'Relation "{name}" is not defined in active record class "{class}".' => '關聯 "{name}" 未被定義在 active record class "{class}" 中.', 103 'Stack data must be an array or an object implementing Traversable.' => '堆疊資料必須是一個陣列或一個實作 Traversable 的物件.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 262 lines
18return array ( 19 'Active record class "{class}" does not have a scope named "{scope}".' => 'AR类 "{class}" 没有名为 "{scope}" 的命名范围。', 20 'Alias "{alias}" is invalid. Make sure it points to an existing PHP file.' => '别名 "{alias}" 无效。请确认它指向一个存在的PHP文件。', 45 'The pattern for month must be "M", "MM", "MMM", "MMMM", "L", "LL", "LLL" or "LLLL".' => '月份的格式必须是 "M", "MM", "MMM", "MMMM", "L", "LL", "LLL" 或者 "LLLL"。', 46 'The relation "{relation}" in active record class "{class}" is not specified correctly. The join table "{joinTable}" given in the foreign key cannot be found in the database.'=>'AR类 "{class}" 的关联 "{relation}" 的设定不正确。通过外键连接的数据表 "{joinTable}" 在数据库中找不到。', 47 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'AR类 "{class}" 的关联 "{relation}" 设定的外键 "{key}" 没有指向父表 "{table}"。', 47 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'AR类 "{class}" 的关联 "{relation}" 设定的外键 "{key}" 没有指向父表 "{table}"。', 48 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". There is no such column in the table "{table}".' => 'AR类 "{class}" 的关联 "{relation}" 设定了一个无效的外键 "{key}"。在数据表 "{table}" 中没有这样的列。', 49 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The columns in the key must match the primary keys of the table "{table}".' => 'AR类 "{class}" 的关联 "{relation}" 设定了一个无效的外键 "{key}"。该键的列必须是数据表 "{table}" 的主键。', 78 'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => '@@代表月份的格式必须是 "M", "MM", "MMM", 或 "MMMM".@@', 79 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". The foreign key does not point to either joining table.' => '@@active record class "{class}" 中的关联 "{relation}" 有一个无效的 foreign key "{key}". foreign key 未指到任一个 joining table.@@', 80 'The requested controller "{controller}" does not exist.' => '@@请求的控制器 "{controller}" 不存在.@@', 90 'Active Record requires a "db" CDbConnection application component.' => 'Active Record 需要一个名为 "db" 的 CDbConnection 应用程序组件.', 91 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" 对于关联 "{relation}" 有一个无效的配置. 必须给定关联种类, 相关的 active record class 以及 foreign key.', 92 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" 正尝试选择一个无效的栏位 "{column}". 注意, 该栏位必须存在于 table 中或者是一个具别名的 expression.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 255 lines
36 'Active Record requires a "db" CDbConnection application component.' => 'Active Record cần có một "db" CDbConnection application component.', 37 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Lớp active record "{class}" có một liên kết quan hệ không đúng: "{relation}". Nó phải được định nghĩa bởi loại quan hệ, lớp quan hệ và khoá ngoại.', 38 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" đang cố gắn truy vấn đến một column không hợp lệ:"{column}". Chú ý, column phải tồn tại trong bảng hoặc phải là một alias expression.', 38 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" đang cố gắn truy vấn đến một column không hợp lệ:"{column}". Chú ý, column phải tồn tại trong bảng hoặc phải là một alias expression.', 39 'Active record class "{class}" does not have a scope named "{scope}".' => 'lớp active record "{class}" không có tên scope "{scope}".', 40 'Alias "{alias}" is invalid. Make sure it points to an existing PHP file.' => 'Alias "{alias}" không có hiệu lực. Phải chắc chắn nó chỉ đến một tập tin PHP đã có.', 61 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection không được kích hoạt và không thể thực hiện thao tác cơ sở dữ liệu nào.', 62 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString không được phép rỗng.', 63 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader không thể tua lại. Nó chỉ là một forward-only reader.', 101 'Cannot add an item of type "{child}" to an item of type "{parent}".' => 'Không thể thêm loại item "{child}" là con của loại item "{parent}".', 102 'Column name must be either a string or an array.' => 'Tên cột phải là string hoặc array.', 103 'Either "{parent}" or "{child}" does not exist.' => '"{parent}" hoặc "{child}" không tồn tại.', 105 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Lỗi: Bảng "{table}" có khoá chính ghép hợp mà crud command không hỗ trợ.', 106 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Sự kiện "{class}.{event}" được gắn với bộ xử lý không hợp lệ "{handler}".', 107 'Event "{class}.{event}" is not defined.' => 'Sự kiện "{class}.{event}" chưa được định nghĩa.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 238 lines
22 'Active Record requires a "db" CDbConnection application component.' => 'Active Record için "db" CDbConnection uygulama bileşeni gerekli.', 23 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" isimli sınıfında "{relation}" ilişkilendiremesi için geçersiz bir yapılandırmaya sahip. Yapılandırma kapsamında ilişkilendirme tipi, ilgili active record sınıfı ve yabancı anahtarın belirtilmiş olması gerekmektedir.', 24 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" isimli sınıfı, "{column}" isimli geçersiz bir sütuna erişmeye çalışıyor. Not: Bu sütunun tabloda tanımlı olması veya aliaslarda tanımlı bir ifade olması gerekmetedir.', 24 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" isimli sınıfı, "{column}" isimli geçersiz bir sütuna erişmeye çalışıyor. Not: Bu sütunun tabloda tanımlı olması veya aliaslarda tanımlı bir ifade olması gerekmetedir.', 25 'Active record class "{class}" does not have a scope named "{scope}".' => 'Active record "{class}" isimli sınıfı "{scope}" isimli bir kapsam tanımına sahip değil.', 26 'Alias "{alias}" is invalid. Make sure it points to an existing PHP file.' => '"{alias}" geçersiz bir alias. Varolan bir php dosyasına işaret ettiğine emin olun.', 45 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection şu anda pasif durumda ve hiçbir DB operasyonunu gerçekleştiremez.', 46 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString boş olamaz.', 47 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader geri sarılamaz (cannot rewind). Sadece ileri yöndeki(forward-only) okumalar için kullanılabilinir.', 85 'Cannot add an item of type "{child}" to an item of type "{parent}".' => '"{child}" elementi "{parent}" için element olarak eklenemez.', 86 'Column name must be either a string or an array.' => 'Sütun adı bir string veya array olmalıdır.', 87 'Either "{parent}" or "{child}" does not exist.' => '"{parent}" ve "{child}", ikiside yok. ', 89 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Hata: "{table}" tablosu crud komutunun desteklemediği bir karşıt primary key sahip.', 90 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => '"{class}.{event}" olayı geçersiz "{handler}" işleyicisine bağlandı.', 91 'Event "{class}.{event}" is not defined.' => '"{class}.{event}" olayı tanımlanmadı.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 257 lines
21return array ( 22 'Action class {class} must implement the "run" method.' => 'Action-klassen {class} måste implementera metoden "run".', 23 'Adding a foreign key constraint to an existing table is not supported by SQLite.' => 'SQLite stöder inte tillägg av referensattributrestriktion i existerande tabell', 28 'Dropping a foreign key constraint is not supported by SQLite.' => 'SQLite stöder inte borttagning av referensattributrestriktion', 29 'Filter "{filter}" is invalid. Controller "{class}" does not have the filter method "filter{filter}".' => 'Filtret "{filter}" är ogiltigt. Kontrollern "{class}" innehåller inte filtermetoden "filter{filter}".', 30 'Property CMaskedTextField.mask cannot be empty.' => 'Propertyn CMaskedTextField.mask kan inte lämnas blank.', 40 'Active Record requires a "db" CDbConnection application component.' => 'Active Record erfordrar en "db" CDbConnection applikationskomponent.', 41 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active Record-klassen "{class}" innehåller en ogiltig deklaration av relationen "{relation}". Den måste specificera relationstyp (kardinalitet), den relaterade Active Record-klassen samt referensattributet (fk).', 42 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active Record-klassen "{class}" försöker välja en ogiltig kolumn "{column}". Observera att kolumnen måste existera i tabellen eller vara ett uttryck med alias.', 42 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active Record-klassen "{class}" försöker välja en ogiltig kolumn "{column}". Observera att kolumnen måste existera i tabellen eller vara ett uttryck med alias.', 43 'Active record class "{class}" does not have a scope named "{scope}".' => 'Active Record-klassen "{class}" har inte det namngivna omfånget (named scope) "{scope}".', 44 'Alias "{alias}" is invalid. Make sure it points to an existing PHP file.' => 'Alias "{alias}" är ogiltigt. Kontrollera att det leder till en existerande PHP-fil.', 64 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection kunde inte öppna DB-anslutningen: {error}', 65 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString får inte vara tom.', 66 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader kan inte reverseras. Den läser endast data i följd.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 205 lines
25 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord zahteva "db" CDbConnection aplikacionu komponentu.', 26 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord-klasa "{class}" je pogrešno konfigurisana za relaciju "{relation}". Klasa mora da specificira tip relacije, povezanu (odgovarajuću) active record klasu i spoljni ključ (foreign key).', 27 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" klasa pokušava da selektuje nevažeću (pogrešnu) kolonu "{column}". Obratite pažnju, kolona mora da postoji u tabeli ili da bude izraz sa alias-om.', 43 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection nije aktivan i ne može da izvrši ni jednu DB operaciju.', 44 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString ne može biti prazan.', 45 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader ne može da premota (rewind). To je "samo napred" (forward-only) čitač.', 81 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Greška: Tabela "{table}" ima kompozitni primarni ključ (composite primary key) koji nije podržan od strane "crud" komande.', 82 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Događaj "{class}.{event}" je zakačen za pogrešan (nevažeći) hendler (handler) "{handler}".', 83 'Event "{class}.{event}" is not defined.' => 'Događaj (event) "{class}.{event}" nije definisan.', 85 'File upload was stopped by extension.' => 'Podizanje fajla (file upload) je zaustavljeno od strane ekstenzije.', 86 'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Filter "{filter}" je pogrešan. Kontroler "{class}" sadrži filter metod "filter{filter}".', 87 'Get a new code' => 'Dobavi novi kod', 102 'Queue data must be an array or an object implementing Traversable.' => 'Podatak reda (Queue data) mora biti niz ili objekat koji implementira Traversable.', 103 'Relation "{name}" is not defined in active record class "{class}".' => 'Relacija "{name}" nije definisana u active record klasi "{class}".', 104 'Stack data must be an array or an object implementing Traversable.' => 'Podatak steka (Stack data) mora biti niz ili objekat koji implementira Traversable.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 205 lines
25 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord захтева "db" CDbConnection апликациону компоненту.', 26 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord класа "{class}" је погрешно конфигурисана за релацију "{relation}". Класа мора да специфицира тип релације, повезану (одговарајућу) active record класу и спољни кључ (foreign key).', 27 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" класа покушава да селектује неважећу (погрешну) колону "{column}". Обратите пажњу, колона мора да постоји у табели или да буде израз са алиасом.', 43 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection није активан и не може да изврши ни једну DB операцију.', 44 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString не може бити празан.', 45 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader не може да премота (rewind). То је "само напред" (forward-only) читач.', 72 'CSecurityManager.validationKey cannot be empty.' => 'CSecurityManager.validationKey не може бити празан', 73 'CTypedList<{type}> can only hold objects of {type} class.' => 'CTypedList<{type}> може да садржи једино објекте {type} класе.', 74 'CUrlManager.UrlFormat must be either "path" or "get".' => 'CUrlManager.UrlFormat мора бити "path" или "get".', 81 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Грешка: Табела "{table}" има композитни примарни кључ (composite primary key) који није подржан од стране "crud" команде.', 82 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Догађај (event) "{class}.{event}" је закачен за погрешан (неважећи) хендлер (handler) "{handler}".', 83 'Event "{class}.{event}" is not defined.' => 'Догађај (event) "{class}.{event}" није дефинисан.', 85 'File upload was stopped by extension.' => 'Подизање фајла (file upload) је заустављено од стране екстензије.', 86 'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Филтер "{filter}" је погрешан. Контролер "{class}" садржи филтер метод "filter{filter}".', 87 'Get a new code' => 'Добави нови код',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 256 lines
21return array ( 22 'Failed to set unsafe attribute "{attribute}" of "{class}".' => 'Nepodarilo sa nastaviť neošetrený atribút "{attribute}" v objekte "{class}".', 23 'Failed to start session.' => 'Nepodarilo sa vytvoriť session.', 23 'Failed to start session.' => 'Nepodarilo sa vytvoriť session.', 24 '{class} and its behaviors do not have a method or closure named "{name}".' => '{class} ani súvisiace objekty nemajú definovanú metódu ani closure s názvom "{name}".', 25 '"{path}" is not a valid directory.' => '"{path}" nie je platný adresár.', 27 '<< First' => 'Prvá', 28 'Action class {class} must implement the "run" method.' => 'Objekt {class} pre vykonanie akcie musí implementovať metódu "run".', 29 'Active Record requires a "db" CDbConnection application component.' => 'Active Record vyžaduje komponent aplikácie "db" CDbConnection.', 29 'Active Record requires a "db" CDbConnection application component.' => 'Active Record vyžaduje komponent aplikácie "db" CDbConnection.', 30 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" má neplatnú konfiguráciu pre reláciu "{relation}". Konfigurácia musí špecifikovať typ relácie, Active record objekt a foreign key.', 31 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" sa pokúsila nájsť neplatný stĺpec "{column}". Pozor - hľadaný stĺpec musí existovať v databáze, alebo musí byť výrazom s aliasom.', 56 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection nemohol vytvoriť pripojenie na databázu: {error}', 57 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString nemôže byť prázdny.', 58 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader nemôže načítať predošlé záznamy. Je možné čítať len nasledujúce záznamy.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 256 lines
13 * 14 * Message string can be used with plural forms format. Check i18n section 15 * of the guide for details. 23 'Failed to start session.' => 'Не удалось запустить сессию.', 24 '{class} and its behaviors do not have a method or closure named "{name}".' => 'В классе {class} и его поведениях не найден метод или замыкание с именем "{name}".', 25 '"{path}" is not a valid directory.' => 'Путь "{path}" не является правильной директорией.', 27 '<< First' => '<< Первая', 28 'Action class {class} must implement the "run" method.' => 'Класс действия {class} должен содержать метод "run".', 29 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord требует компонент приложения "db" CDbConnection.', 29 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord требует компонент приложения "db" CDbConnection.', 30 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Отношение "{relation}" класса Active record "{class}" сконфигурировано не верно. Вы должны указать тип отношения, связанный отношением класс active record и внешний ключ.', 31 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" пытается выбрать недопустимый столбец "{column}". Примечание: столбец должен существовать в таблице или являться выражением с алиасом.', 56 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection не удалось открыть соединение с базой данных: {error}', 57 'CDbConnection.connectionString cannot be empty.' => 'Параметр CDbConnection.connectionString должен быть заполнен.', 58 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'Компонент CDbDataReader не поддерживает обратное чтение. Этот компонент только для чтения в прямом направлении.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 213 lines
22 'Active Record requires a "db" CDbConnection application component.' => 'Active Record are nevoie de o componenta de aplicatie CDbConnection "db".', 23 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Clasa Active record "{class}" are o configuratie nevalida pentru relatia "{relation}". Trebuie specificate tipul relatiei, clasa active record inrudita si foreign key-ul.', 24 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Clasa Active record "{class}" incearca sa selecteze o coloana nevalida "{column}". Retineti: coloana trebuie sa existe in tabela sau sa fie o expresie cu alias.', 40 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection este inactiva si nu poate executa nici o operatie DB.', 41 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString trebuie sa contina ceva.', 42 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader nu poate derula. Poate face citire doar inainte (forward-only).', 82 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Eroare: Tabela "{table}" are o cheie primara compusa care nu este suportata de comanda crud.', 83 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Evenimentul "{class}.{event}" este atasat unui handler nevalid "{handler}".', 84 'Event "{class}.{event}" is not defined.' => 'Evenimentul "{class}.{event}" nu este definit.', 86 'File upload was stopped by extension.' => 'Uploadul fisierului a fost intrerupt de catre extensie.', 87 'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Filtrul "{filter}" este nevalid. Controllerul "{class}" nu are metoda filtru "filter{filter}".', 88 'Get a new code' => 'Luati un cod nou', 106 'Queue data must be an array or an object implementing Traversable.' => 'Datele cozii trebuie sa fie un array sau un obiect care implementeaza Traversable.', 107 'Relation "{name}" is not defined in active record class "{class}".' => 'Relatia "{name}" nu este definita in clasa active record "{class}".', 108 'Stack data must be an array or an object implementing Traversable.' => 'Datele stivei trebuie sa fie un array sau un obiect care implementeaza Traversable.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 281 lines
21return array ( 22 'Action class {class} must implement the "run" method.' => 'A classe Action {class} deve implementar o método "run".', 23 'CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.' => 'Falha ao executar CDbCommand::execute(): {error}. A declaração SQL executada foi: {sql}.', 40 'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => '@@O formato para mês deve ser "M", "MM", "MMM", ou "MMMM".@@', 41 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". The foreign key does not point to either joining table.' => '@@A relação "{relation}" na classe de active record "{class}" está especificada com uma chave estrangeira "{key}" inválida. As chaves estrangeiras não apontam para nenhuma tabela de junção.@@', 42 'The requested controller "{controller}" does not exist.' => '@@O controlador "{controller}" solicitado não existe.@@', 46 'Unable to find the list item.' => '@@Impossível encontrar o item da lista.@@', 47 'Unable to remove migration {class}.' => '@@Não foi possível remover a classe de migração {class}.@@', 48 '{className} does not support flush() functionality.' => '@@{className} não suporta a funcionalidade flush().@@', 54 'Active Record requires a "db" CDbConnection application component.' => 'Active Record requer um componente de aplicação "db" CDbConnection', 55 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active Record "{class}" tem uma configuração inválida no relacionamento "{relation}". Deve-se especificar o tipo de relacionamento, a classe de active record relacionada e a chave estrangeira', 56 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'O active record "{class}" está tentando selecionar uma coluna inválida "{column}". Note, a coluna deve existir na tabela ou ser uma expressão de alias (apelido)', 56 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'O active record "{class}" está tentando selecionar uma coluna inválida "{column}". Note, a coluna deve existir na tabela ou ser uma expressão de alias (apelido)', 57 'Active record class "{class}" does not have a scope named "{scope}".' => 'A classe de active record "{class}" não possui um escopo denominado "{scope}".', 58 'Adding a foreign key constraint to an existing table is not supported by SQLite.' => 'Acrescentar uma chave estrangeira a uma tabela existente não é suportado pelo SQLite.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 257 lines
24 '<< First' => '<< Pierwsza', 25 'Action class {class} must implement the "run" method.' => 'Klasa akcji {class} musi implementować metodę "run".', 26 'Active Record requires a "db" CDbConnection application component.' => 'Active Record wymaga komponentu aplikacji "db" CDbConnection.', 26 'Active Record requires a "db" CDbConnection application component.' => 'Active Record wymaga komponentu aplikacji "db" CDbConnection.', 27 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Konfiguracja rekordu aktywnego "{class}" jest niewłaściwa dla relacji" {relation}". Musi ona definiować typ relacji, referującą do niej klasę rekordu aktywnego i klucz obcy.', 28 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" próbuje wybrać nieodpowiednią kolumnę "{column}". Pamiętaj, że kolumna musi istnieć w tabeli lub musi być wyrażona aliasem.', 28 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" próbuje wybrać nieodpowiednią kolumnę "{column}". Pamiętaj, że kolumna musi istnieć w tabeli lub musi być wyrażona aliasem.', 29 'Active record class "{class}" does not have a scope named "{scope}".' => 'Klasa rekordu aktywnego "{class}" nie posiada nazwanego zbioru (ang. scope) "{scope}"', 30 'Adding a foreign key constraint to an existing table is not supported by SQLite.' => 'Dodawanie ograniczenia klucza obcego do istniejącej tabeli nie jest wspierane przez SQLite.', 54 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection nie zdołał otworzyć połączenia DB: {error}', 55 'CDbConnection.connectionString cannot be empty.' => 'Wyrażenie CDbConnection.connectionString nie może być puste.', 56 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader nie może przewijać wstecz. Czyta tylko naprzód.', 94 'Cannot add an item of type "{child}" to an item of type "{parent}".' => 'Nie mogę dodać pozycji typu "{child}" do pozycji typu "{parent}".', 95 'Column name must be either a string or an array.' => 'Nazwa kolumny musi być stringiem lub tablicą.', 96 'Dropping DB column is not supported by SQLite.' => 'Usuwanie kolumny bazy danych nie jest wspierane przez SQLite',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 222 lines
22 'Active Record requires a "db" CDbConnection application component.' => 'Active Record krever en "db" CDbConnection applikasjonskomponent.', 23 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active Record "{class}" har en ugyldig konfigurasjon for relasjonen "{relation}". Den må spesifisere relasjonstype, den relaterte Active Record-klassen og en fremmednøkkel.', 24 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" prøver å velge en ugyldig kolonne "{column}". Merk at kolonnen må eksistere i en tabell eller være et uttrykk med et alias.', 41 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection er inaktiv og kan ikke utføre noen DB operasjoner.', 42 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString kan ikke være tom.', 43 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader kan ikke spole tilbake. Den kan kun lese framover.', 87 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => '', 88 'Event "{class}.{event}" is not defined.' => 'Hendelse "{class}.{event}" er ikke definert.', 89 'Failed to write the uploaded file "{file}" to disk.' => 'Klarte ikke å skrive den opplastede filen "{file}" til disk.', 90 'File upload was stopped by extension.' => 'Opplasting av fil ble stoppet pga filtype.', 91 'Filter "{filter}" is invalid. Controller "{class}" does have the filter method "filter{filter}".' => 'Filteret "{filter}" er ugyldig. Kontrolleren "{class}" har ikke filtermetoden "filter{filter}".', 92 'Get a new code' => 'Hent ny kode', 110 'Queue data must be an array or an object implementing Traversable.' => 'Queue-data må være et array eller et objekt som implementerer Traversable.', 111 'Relation "{name}" is not defined in active record class "{class}".' => 'Relasjon "{name}" er ikke definert i "active record" klassen "{class}', 112 'Stack data must be an array or an object implementing Traversable.' => 'Stack-data må være et array eller et objekt som implementerer Traversable.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 257 lines
21return array ( 22 'Action class {class} must implement the "run" method.' => 'De Action class {class} moet de "run" functie implementeren.', 23 'CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.' => 'CDbCommand::execute() fout: {error}. Het uitgevoerde SQL statement was: {sql}.', 24 'CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.' => 'CDbCommand::{method}() fout: {error}. Het uitgevoerde SQL statement was: {sql}.', 25 'Filter "{filter}" is invalid. Controller "{class}" does not have the filter method "filter{filter}".' => 'Filter "{filter}" is ongeldig. Controller "{class}" heeft geen "filter{filter}" functie.', 26 'Property CMaskedTextField.mask cannot be empty.' => 'Het attribuut CMaskedTextField.mask mag niet leeg zijn', 31 'Active Record requires a "db" CDbConnection application component.' => 'Active Record vereist een "db" CDbConnection applicatie-component.', 32 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" bevat een relatie "{relation}" met ongeldige instellingen. Het relatietype, de verwante active record class en de foreign key moeten opgegeven zijn.', 33 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" probeert de ongeldige kolom "{column}" te selecteren. De kolom moet deel uitmaken van de tabel of een uitdrukking met alias zijn.', 33 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" probeert de ongeldige kolom "{column}" te selecteren. De kolom moet deel uitmaken van de tabel of een uitdrukking met alias zijn.', 34 'Active record class "{class}" does not have a scope named "{scope}".' => 'Active record class "{class}" heeft geen scope met naam "{scope}".', 35 'Adding a foreign key constraint to an existing table is not supported by SQLite.' => 'Een foreign key toevoegen aan een bestaande table wordt niet ondersteund door SQLite.', 57 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection kon geen verbinding maken met de database: {error}', 58 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString mag niet leeg zijn.', 59 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader kan niet terugspoelen. Alleen voorwaartse acties zijn mogelijk.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 256 lines
24 '<< First' => '<< Pirmas', 25 'Action class {class} must implement the "run" method.' => 'Action klasėje {class} turi būti realizuotas metodas „run“.', 26 'Active Record requires a "db" CDbConnection application component.' => 'Active record reikalingas programos komponentas „db“ CDbConnection.', 26 'Active Record requires a "db" CDbConnection application component.' => 'Active record reikalingas programos komponentas „db“ CDbConnection.', 27 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record klasės „{class}“ ryšys „{relation}“ sukonfigūruotas neteisingai. Jis turi nurodyti ryšio tipą, siejamą active record klasę ir išorinį raktą.', 28 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record klasė „{class}“ neranda lauko „{column}“. Laukas turi egzistuoti lentelėje arba gali būti išraiška alternatyviuoju vardu.', 53 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection nepavyko prisijungti prie duomenų bazės: {error}', 54 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString negali būti tuščias.', 55 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader negali skaityti atbuline seka, tik pirmyn.', 99 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Klaida: lentelė „{table}“ turi sudėtinį pirminį raktą, kurio nepalaiko crud komanda.', 100 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Įvykis „{class}.{event}“ pridėtas negaliojančiai doroklei „{handler}“.', 101 'Event "{class}.{event}" is not defined.' => 'Įvykis „{class}.{event}“ nėra apibrėžtas.', 103 'Failed to initialize the mcrypt module.' => 'Nepavyko inicializuoti mcrypt modulio.', 104 'Failed to set unsafe attribute "{attribute}" of "{class}".' => 'Nepavyko priskirti reikšmės nesaugiam „{class}“ atributui „{attribute}“.', 105 'Failed to start session.' => 'Nepavyko pradėti sesijos.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 280 lines
21return array ( 22 'Action class {class} must implement the "run" method.' => 'アクションクラス{class}は"run"メソッドを実装する必要があります。', 23 'Active record class "{class}" does not have a scope named "{scope}".' => 'アクティブレコードクラス{class}は"{scope}"というスコープを持ちません。', 67 '{attribute} must not be equal to "{compareValue}".' => '{attribute}は{compareValue}ではいけません。', 68 '{className} does not support flushValues() functionality.' => '{className}はflushValues()機能をサポートしません。', 69 'CDbConnection is inactive and cannot perform any DB operations.' => '@@CDbConnection がアクティブでないためデータベース操作ができません。@@', 81 'The pattern for month must be "M", "MM", "MMM", or "MMMM".' => '@@月のパターンは "M" か "MM" か "MMM" です。@@', 82 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". The foreign key does not point to either joining table.' => '@@アクティブレコードクラス "{class}" のリレーション "{relation}" は不正な外部キー "{key}" で定義されています。外部キーは両方のジョインテーブルのどちらも参照していません。@@', 83 'The requested controller "{controller}" does not exist.' => '@@@@要求されたコントローラ "{controller}" は存在しません。@@@@', 89 '{className} does not support flush() functionality.' => '@@{className} は flush() 機能をサポートしません。@@', 90 '{class} does not have attribute "{attribute}".' => '@@{class} は "{attribute}" というアトリビュートを持ちません。@@', 91 '{class} does not have attribute "{name}".' => '@@{class} は "{name}" というアトリビュートを持ちません。@@', 95 'Active Record requires a "db" CDbConnection application component.' => 'Active Record は "db" という CDbConnection アプリケーションコンポーネントを必要とします。', 96 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'アクティブレコード "{class}" の、リレーション {relation} のコンフィギュレーションに誤りがあります。リレーションタイプ、関係するアクティブレコードクラスと外部キーを指定して下さい。', 97 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'アクティブレコード "{class}" は誤ったカラム "{column}" を選択しようとしました。カラムがテーブルにあるか、または別名として正しいかを確認してください。',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 213 lines
25 '{class} does not have relation "{name}".' => '{class} non ha una relazione "{name}".', 26 '{class} does not support fetching all table names.' => '{class} non supporta l\'ottenimento di tutti i nomi delle tabelle.', 27 '"{path}" is not a valid directory.' => '"{path}" non è una cartella valida.', 28 'Active Record requires a "db" CDbConnection application component.' => 'Active Record richiede un componente applicativo "db" di tipo CDbConnection.', 29 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'L\'active record "{class}" ha una configurazione non valida per la relazione "{relation}". Devono essere specificati il tipo di relazione, l\'active record relazionato e la chiave esterna.', 30 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" sta cercando di selezionare la colonna non valida "{column}". Nota, la colonna deve esistere nella tabella o essere un\'espressione con alias.', 46 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection è inattiva e non può realizzare alcuna operazione con il DB.', 47 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString non può essere vuoto', 48 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader non può tornare indietro. E\' un lettore che può solo avanzare.', 75 'CSecurityManager.validationKey cannot be empty.' => 'CSecurityManager.validationKey non può essere vuoto.', 76 'CTypedList<{type}> can only hold objects of {type} class.' => 'CTypedList<{type}> può contenere solo oggetti della classe {type}.', 77 'CUrlManager.UrlFormat must be either "path" or "get".' => 'CUrlManager.UrlFormat deve essere "path" o "get".', 105 'Queue data must be an array or an object implementing Traversable.' => 'I dati della coda devono essere un array o un oggetto che implementi Traversable.', 106 'Relation "{name}" is not defined in active record class "{class}".' => 'La relazione "{name}" non è definita nella classe active record "{class}".', 107 'Stack data must be an array or an object implementing Traversable.' => 'I dati della pila devono essere un array o un oggetto che implementi Traversable.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 257 lines
21return array ( 22 'Action class {class} must implement the "run" method.' => 'Kelas action {class} harus mengimplementasi method "run".', 23 'Adding a foreign key constraint to an existing table is not supported by SQLite.' => 'SQLite tidak mendukung penambahan constraint foreign key ke tabel yang sudah ada.', 28 'Dropping a foreign key constraint is not supported by SQLite.' => 'SQLite tidak mendukung penghapusan constraint foreign key.', 29 'Filter "{filter}" is invalid. Controller "{class}" does not have the filter method "filter{filter}".' => 'Filter "{filter}" salah. Controller "{class}" tidak memiliki method filter dengan nama "filter{filter}".', 30 'Property CMaskedTextField.mask cannot be empty.' => 'Properti CMaskedTextField.mask tidak boleh kosong.', 40 'Active Record requires a "db" CDbConnection application component.' => 'Active Record perlu sebuah component aplikasi CDbConnection "db".', 41 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" memiliki konfigurasi relasi "{relation}" yang salah. Kelas ini harus menetapkan tipe, kelas active record yang terkait dan foreign key.', 42 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active Record "{class}" mencoba select kolom "{column}" yang tidak valid. Perhatian, kolom harus ada dalam table atau merupakan sebuah ekspresi dengan alias.', 42 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active Record "{class}" mencoba select kolom "{column}" yang tidak valid. Perhatian, kolom harus ada dalam table atau merupakan sebuah ekspresi dengan alias.', 43 'Active record class "{class}" does not have a scope named "{scope}".' => 'Kelas active record "{class}" tidak memliki scope bernama "{scope}".', 44 'Alias "{alias}" is invalid. Make sure it points to an existing PHP file.' => 'Alias "{alias}" tidak valid. Pastikan alias tersebut menunjuk ke file PHP yang ada', 64 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection gagal membuka koneksi DB: {error}', 65 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString tidak boleh kosong.', 66 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader tidak bisa bergerak mundur. Kelas ini adalah pembaca yang bergerak maju saja.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 242 lines
22 '<< First' => '<< הראשון', 23 'Active record class "{class}" does not have a scope named "{scope}".' => 'מחלקת AR "{class}" לא מכילה סקופ בשם "{scope}".', 24 'Base path "{path}" is not a valid directory.' => 'נתיב ראשי "{path}" לא הוגדר מאחר והנתיב הוא לא תקני.', 37 'The module path "{path}" is not a valid directory.' => 'תיקית המודלים "{path}" אינה תקיה תקינה.', 38 'The relation "{relation}" in active record class "{class}" is not specified correctly. The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'יחוס בשם "{relation}" במחלקת ה AR "{class}" לא מוגדר כראוי. טבלת הקישור "{joinTable}" שהוגדרה לא נמצאה במסד הנתונים.', 39 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'יחוס בשם "{relation}" במחלקת ה AR "{class}" הוגדרה עם שדה מפתח בשם "{key}" שאינו מקושר לטבלת האב "{table}".', 39 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'יחוס בשם "{relation}" במחלקת ה AR "{class}" הוגדרה עם שדה מפתח בשם "{key}" שאינו מקושר לטבלת האב "{table}".', 40 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". There is no such column in the table "{table}".' => 'יחוס בשם "{relation}" במחלקת ה AR "{class}" is הוגדרה עם שדה מפתח לא תקני בשם "{key}". לא קיימת עמודה בשם זה בטבלה "{table}".', 41 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The columns in the key must match the primary keys of the table "{table}".' => 'יחוס בשם "{relation}" במחלקת ה AR "{class}" הוגדרה עם שדה מפתח לא תקני. העמודות במפתח צריכות להיות תואמות לשדות המפתח בטבלה "{table}".', 52 '{attribute} must not be equal to "{compareValue}".' => '{attribute} חייב להיות לא שווה ל "{compareValue}".', 53 '{class} does not have a method named "{name}".' => '{class} לא מכיל פונקציה בשם "{name}".', 54 '{class} does not support fetching all table names.' => '{class} לא תומך בשליפה של כל שמות הטבלאות.', 68 'Active Record requires a "db" CDbConnection application component.' => 'שימוש ב AR דורש חיבור זמין למסד על ידי שימוש במחלקת CDbConnection', 69 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'מחלקת ה AR בשם "{class}" מכילה יחוס לא נכון בשם "{relation}". היחוס צריך להכיל את סוג היחוס, מחלקת ה AR אליה זה מיוחס והמפתח הזר.', 70 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'מחלקת ה AR בשם "{class}" מנסה לשלוף עמודה בשם "{column}" שאינה קיימת. זכור, העמודה חייבת להיות קיימת בטבלה או להיות ביטוי עם שם קישור.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 255 lines
29 'CDbTestFixture.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.' => 'CDbTestFixture.connectionID « {id} » est invalide. Vérifiez qu\'elle référence bien l\'ID d\'un composant d\'application de type CDbConnection.', 30 'CTypedMap<{type}> can only hold objects of {type} class.' => 'TypedMap<{type}> peut seulement contenir des objets de la classe {type}.', 31 'CWinCache requires PHP wincache extension to be loaded.' => 'CWinCache impose que l\'extension PHP wincache soit chargée.', 47 'Unable to import "{alias}". Please check your server configuration to make sure you are allowed to change PHP include_path.' => 'Impossible d\'importer « {alias} ». Vérifiez la configuration de votre serveur pour être certain de pouvoir modifier la valeur PHP include_path.', 48 'Unable to remove migration {class}.' => 'Impossible de supprimer la migration {class}.', 49 'Unknown operator "{operator}".' => 'L\'opérateur « {operator} » est inconnu.', 53 '{attribute} is in the list.' => '{attribute} est dans la liste.', 54 '{className} does not support flushValues() functionality.' => '{className} ne supporte pas la fonctionnalité flushValues().', 55 '"{path}" is not a valid directory.' => '« {path} » n\'est pas un dossier valide.', 58 'Active Record requires a "db" CDbConnection application component.' => 'Un composant d\'application « db » de type CDbConnection est nécessaire pour les Active Record.', 59 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'La relation « {relation} » de la classe Active Record « {class} » est invalide. La classe et la clef étrangère de la classe Active record associée doivent être spécifiées.', 60 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'La colonne « {column} » que tente d\'accéder l\'Active Record « {class} » est invalide. Note, la colonne doit exister au sein de la table ou être un l\'alias d\'une expression.', 60 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'La colonne « {column} » que tente d\'accéder l\'Active Record « {class} » est invalide. Note, la colonne doit exister au sein de la table ou être un l\'alias d\'une expression.', 61 'Active record class "{class}" does not have a scope named "{scope}".' => 'La classe Active record « {class} n\'a pas de scope nommé « {scope} ».', 62 'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'L\'alias « {alias} » est invalide. Vérifiez qu\'il pointe sur un fichier ou un dossier valide.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 231 lines
18return array ( 19 'Active record class "{class}" does not have a scope named "{scope}".' => 'La clase de registro activo "{class}" no tiene un ámbito llamado "{scope}".', 20 'Base path "{path}" is not a valid directory.' => 'La ruta base "{path}" no es un directorio válido', 27 'The module path "{path}" is not a valid directory.' => 'La ruta del módulo "{path}" no es un directorio válido.', 28 'The relation "{relation}" in active record class "{class}" is not specified correctly. The join table "{joinTable}" given in the foreign key cannot be found in the database.' => 'La relación "{relation}" en la clase de registro activo "{class}" está especificada correctamente. La tabla de unión o join "{joinTable}" dada en la llave foránea no se encuentra en la base de datos.', 29 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'La relación "{relation}" en la clase de registro activo "{class}" es especificada con una llave foránea "{key}" que no apunta a la tabla padre "{table}".', 29 'The relation "{relation}" in active record class "{class}" is specified with a foreign key "{key}" that does not point to the parent table "{table}".' => 'La relación "{relation}" en la clase de registro activo "{class}" es especificada con una llave foránea "{key}" que no apunta a la tabla padre "{table}".', 30 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key "{key}". There is no such column in the table "{table}".' => 'La relación "{relation}" en la clase de registro activo "{class}" es especificada con una llave foránea inválida "{key}". No hay tal columna en la tabla "{table}".', 31 'The relation "{relation}" in active record class "{class}" is specified with an invalid foreign key. The columns in the key must match the primary keys of the table "{table}".' => 'La relación "{relation}" en la clase de registro activo "{class}" es especificada con una llave foránea inválida. Las columnas en la llave deben coincidir con las llaves primarias de la tabla "{table}".', 34 '{attribute} "{value}" is invalid.' => '{attribute} "{value}" es inválido.', 35 '{class} does not have a method named "{name}".' => '{class} no tiene un método llamado "{name}".', 36 '{class} does not have attribute "{attribute}".' => '{class} no tiene el atributo "{attribute}', 53 'Active Record requires a "db" CDbConnection application component.' => 'Active Record requiere un componente de aplicación "db" del tipo CDbConnection.', 54 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" contiene una configuración de relación inválida "{relation}". La misma debe especificar el tipo de relación, la clase active record relacionada y la clave foranea.', 55 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" esta intentando de seleccionar una columna inválida "{column}". Nota: La columna puede existir en la base o ser una expresion con alias.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 256 lines
23 'Failed to start session.' => 'Session konnte nicht gestartet werden.', 24 '{class} and its behaviors do not have a method or closure named "{name}".' => 'Weder {class} noch zugehörige Behavior haben einen Scope "{name}".', 25 '"{path}" is not a valid directory.' => '"{path}" ist kein gültiges Verzeichnis.', 27 '<< First' => '<< Erste', 28 'Action class {class} must implement the "run" method.' => 'Action-Klasse {class} muss die Methode "run" implementieren.', 29 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord erfordert eine "db" CDbConnection Applikations-Komponente.', 29 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord erfordert eine "db" CDbConnection Applikations-Komponente.', 30 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord-Klasse "{class}" hat eine ungültige Konfiguration für die Relation "{relation}". Relations-Typ, verknüpftes ActiveRecord und Fremdschlüssel müssen angegeben werden.', 31 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" benutzt das ungültige Feld "{column}" in SELECT. Beachten Sie, dass dieses Feld in der Tabelle existieren oder ein Alias-Ausdruck sein muss.', 56 'CDbConnection failed to open the DB connection: {error}' => 'CDbConnection konnte keine DB-Verbindung herstellen: {error}', 57 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString darf nicht leer sein.', 58 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader ist nicht rewind-fähig. Es ist ein forward-only (nur-vorwärts) Leser.', 96 'Cannot add an item of type "{child}" to an item of type "{parent}".' => 'Kann ein Element vom Typ "{child}" nicht als Kind zu einem Element vom Typ "{parent}" hinzufügen.', 97 'Column name must be either a string or an array.' => 'Spaltenname muss entweder ein String oder ein Array sein.', 98 'Dropping DB column is not supported by SQLite.' => 'SQLite untestützt das Entfernen einer DB-Spalte nicht.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 241 lines
25 '{attribute} is in the list.' => '{attribute} se nachází v seznamu.', 26 '{className} does not support flushValues() functionality.' => '{className} nepodporuje funkcionalitu flushValues().', 27 '"{path}" is not a valid directory.' => '"{path}" není platný adresář.', 30 'Active Record requires a "db" CDbConnection application component.' => 'Active Record vyžaduje komponentu aplikace "db" CDbConnection.', 31 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'Active record "{class}" má neplatnou konfiguraci pro relaci "{relation}". Konfigurace musí specifikovat typ relace, Active record objekt a foreign key.', 32 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" se pokusila najít neplatný sloupec "{column}". Pozor - hledaný sloupec musí existovať v databázi, nebo musí být výrazem s aliasem.', 32 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'Active record "{class}" se pokusila najít neplatný sloupec "{column}". Pozor - hledaný sloupec musí existovať v databázi, nebo musí být výrazem s aliasem.', 33 'Active record class "{class}" does not have a scope named "{scope}".' => 'Active record objekt "{class}" nemá přiřazený jmenný prostor "{scope}".', 34 'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'Alias "{alias}" je neplatný. Ujistěte se, že ukazuje na existující adresář nebo soubor.', 52 'CDbConnection is inactive and cannot perform any DB operations.' => 'CDbConnection je neaktívní a nemůže vykonávat žádné databázové operace.', 53 'CDbConnection.connectionString cannot be empty.' => 'CDbConnection.connectionString nemůže být prázdný.', 54 'CDbDataReader cannot rewind. It is a forward-only reader.' => 'CDbDataReader nemůže číst předchozí záznamy. Je možné číst pouze nasledujíce záznamy.', 96 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Chyba: Tabulka "{table}" obsahuje složený primární klíč, který ale není podporovaný CRUD příkazem.', 97 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Událost "{class}.{event}" je připojená neplatným obsluhovačem udalostí "{handler}".', 98 'Event "{class}.{event}" is not defined.' => 'Událost "{class}.{event}" není definovaná.',yii.php https://github.com/joshuaswarren/weatherhub.git | PHP | 233 lines
24 'Active Record requires a "db" CDbConnection application component.' => 'ActiveRecord zahtjeva "db" CDbConnection aplikacionu komponentu.', 25 'Active record "{class}" has an invalid configuration for relation "{relation}". It must specify the relation type, the related active record class and the foreign key.' => 'ActiveRecord-Klasa "{class}" ima nevažeću konfiguraciju za odnos "{relation}". Tipa odnosa, odnosni ActiveRecord i strani ključ (foreign key) moraju biti postavljeni.', 26 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" koristi nevažećo polje "{column}" u SELECT. Pripazite da to polje mora da postoji u tabeli ili da bude alias izraz.', 26 'Active record "{class}" is trying to select an invalid column "{column}". Note, the column must exist in the table or be an expression with alias.' => 'ActiveRecord "{class}" koristi nevažećo polje "{column}" u SELECT. Pripazite da to polje mora da postoji u tabeli ili da bude alias izraz.', 27 'Active record class "{class}" does not have a scope named "{scope}".' => 'ActiveRecord-Klasa "{class}" nema polje imenovano "{scope}".', 28 'Alias "{alias}" is invalid. Make sure it points to an existing directory or file.' => 'Alias "{alias}" je nevažan. Molim vas, uspostavite da pokazuje do važećeg direktorija ili fajla.', 84 'Column "{column} does not exist in table "{table}".' => 'Kolona "{column}" ne postoji u tabeli "{table}".', 85 'Column name must be either a string or an array.' => 'Ime kolone mora biti string ili array.', 86 'Either "{parent}" or "{child}" does not exist.' => 'Ni "{parent}" ni "{child}" ne postoje.', 88 'Error: Table "{table}" has a composite primary key which is not supported by crud command.' => 'Greška: Tabela "{table}" ima kompozitni primarni ključ (composite primary key) koji nije podržan od strane "crud" komande.', 89 'Event "{class}.{event}" is attached with an invalid handler "{handler}".' => 'Događaj "{class}.{event}" je zakačen za pogrešan (nevažeći) hendler (handler) "{handler}".', 90 'Event "{class}.{event}" is not defined.' => 'Događaj (event) "{class}.{event}" nije definisan.', 114 'Queue data must be an array or an object implementing Traversable.' => 'Podatak reda (Queue data) mora biti niz ili objekat koji implementira Traversable.', 115 'Relation "{name}" is not defined in active record class "{class}".' => 'Odnos "{name}" nije definisana u active record klasi "{class}".', 116 'Resetting PK sequence is not supported.' => 'Ne podržava se vraćanja PK sekvencije.',CDateFormatter.php https://github.com/joshuaswarren/weatherhub.git | PHP | 538 lines
2/** 3 * CDateFormatter class file. 4 * 36 */ 37class CDateFormatter extends CComponent 38{ 70 * Constructor. 71 * @param mixed $locale locale ID (string) or CLocale instance 72 */ 74 { 75 if(is_string($locale)) 76 $this->_locale=CLocale::getInstance($locale); 82 * Formats a date according to a customized pattern. 83 * @param string $pattern the pattern (See {@link http://www.unicode.org/reports/tr35/#Date_Format_Patterns}) 84 * @param mixed $time UNIX timestamp or a string in strtotime formatCDbSchema.php https://github.com/joshuaswarren/weatherhub.git | PHP | 559 lines
123 * Returns all table names in the database. 124 * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. 125 * If not empty, the returned table names will be prefixed with the schema name. 293 * because the default implementation simply throws an exception. 294 * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. 295 * If not empty, the returned table names will be prefixed with the schema name. 301 throw new CDbException(Yii::t('yii','{class} does not support fetching all table names.', 302 array('{class}'=>get_class($this)))); 303 } 311 * <li>pk: an auto-incremental primary key type, will be converted into "int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY"</li> 312 * <li>string: string type, will be converted into "varchar(255)"</li> 313 * <li>text: a long string type, will be converted into "text"</li> 415 * into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. 416 * For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'. 417 * @return string the SQL statement for adding a new column.CDbCriteria.php https://github.com/joshuaswarren/weatherhub.git | PHP | 596 lines
57 /** 58 * @var string how to sort the query results. This refers to the ORDER BY clause in an SQL statement. 59 */ 163 * After calling this method, the {@link condition} property will be modified. 164 * @param mixed $condition the new condition. It can be either a string or an array of strings. 165 * @param string $operator the operator to join different conditions. Defaults to 'AND'. 190 * @param string $column the column name (or a valid SQL expression) 191 * @param string $keyword the search keyword. This interpretation of the keyword is affected by the next parameter. 192 * @param boolean $escape whether the keyword should be escaped if it contains characters % or _. 196 * matching without any change. 197 * @param string $operator the operator used to concatenate the new condition with the existing one. 198 * Defaults to 'AND'. 350 * Defaults to false, meaning exact comparison. 351 * @param string $operator the operator used to concatenate the new condition with the existing one. 352 * Defaults to 'AND'.CDbCommandBuilder.php https://github.com/joshuaswarren/weatherhub.git | PHP | 737 lines
179 * Creates an INSERT command. 180 * @param mixed $table the table schema ({@link CDbTableSchema}) or the table name (string). 181 * @param array $data data to be inserted (column name=>column value). If a key is not a valid column name, the corresponding value will be ignored. 229 * Creates an UPDATE command. 230 * @param mixed $table the table schema ({@link CDbTableSchema}) or the table name (string). 231 * @param array $data list of columns to be updated (name=>value) 376 * Default implementation is applicable for PostgreSQL, MySQL and SQLite. 377 * @param string $sql SQL query string without LIMIT and OFFSET. 378 * @param integer $limit maximum number of rows, -1 to ignore limit. 392 * Alters the SQL to apply GROUP BY. 393 * @param string $sql SQL query string without GROUP BY. 394 * @param string $group GROUP BY 406 * Alters the SQL to apply HAVING. 407 * @param string $sql SQL query string without HAVING 408 * @param string $having HAVINGCActiveRecord.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1446 lines
11/** 12 * CActiveRecord is the base class for classes representing relational data. 13 * 239 throw new CDbException(Yii::t('yii','{class} does not have relation "{name}".', 240 array('{class}'=>get_class($this), '{name}'=>$name))); 241 361 * 362 * @param string $className active record class name. 363 * @return CActiveRecord active record model instance. 370 { 371 $model=self::$_models[$className]=new $className(null); 372 $model->_md=new CActiveRecordMetaData($model); 455 * following four constants: self::BELONGS_TO, self::HAS_ONE, self::HAS_MANY and self::MANY_MANY; 456 * 'className' refers to the name of the active record class that the related object(s) is of; 457 * anCActiveFinder.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1587 lines
97 * This method is internally called. 98 * @param string $sql the SQL statement 99 * @param array $params parameters to be bound to the SQL statement 103 { 104 Yii::trace(get_class($this->_joinTree->model).'.findBySql() eagerly','system.db.ar.CActiveRecord'); 105 if(($row=$this->_builder->createSqlCommand($sql,$params)->queryRow())!==false) 119 * This method is internally called. 120 * @param string $sql the SQL statement 121 * @param array $params parameters to be bound to the SQL statement 216 if(($relation=$parent->model->getActiveRelation($with))===null) 217 throw new CDbException(Yii::t('yii','Relation "{name}" is not defined in active record class "{class}".', 218 array('{class}'=>get_class($parent->model), '{name}'=>$with))); 220 $relation=clone $relation; 221 $model=CActiveRecord::model($relation->className); 222 if($relation instanceof CActiveRelation)CDbMigration.php https://github.com/joshuaswarren/weatherhub.git | PHP | 387 lines
95 * be enclosed within a DB transaction. 96 * Child classes may implement this method instead of {@link up} if the DB logic 97 * needs to be within a transaction. 269 * Builds and executes a SQL statement for adding a new DB column. 270 * @param string $table the table that the new column will be added to. The table name will be properly quoted by the method. 271 * @param string $column the name of the new column. The name will be properly quoted by the method. 271 * @param string $column the name of the new column. The name will be properly quoted by the method. 272 * @param string $type the column type. The {@link getColumnType} method will be invoked to convert abstract column type (if any) 273 * into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. 273 * into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. 274 * For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'. 275 */ 316 * into the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL. 317 * For example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'. 318 */CDbConnection.php https://github.com/joshuaswarren/weatherhub.git | PHP | 794 lines
97 /** 98 * @var string the username for establishing DB connection. Defaults to empty string. 99 */ 230 /** 231 * @var string Custom PDO wrapper class. 232 * @since 1.1.8 249 * @param string $username The user name for the DSN string. 250 * @param string $password The password for the DSN string. 251 * @see http://www.php.net/manual/en/function.PDO-construct.php 396 { 397 $pdoClass=$this->pdoClass; 398 if(($pos=strpos($this->connectionString,':'))!==false) 403 } 404 return new $pdoClass($this->connectionString,$this->username, 405 $this->password,$this->_attributes);CDbCommand.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1317 lines
2/** 3 * This file contains the CDbCommand class. 4 * 45 */ 46class CDbCommand extends CComponent 47{ 64 * @param mixed $query the DB query to be executed. This can be either 65 * a string representing a SQL statement, or an array whose name-value pairs 66 * will be used to set the corresponding properties of the created command object. 136 /** 137 * @return string the SQL statement to be executed 138 */ 148 * Any previous execution will be terminated or cancel. 149 * @param string $value the SQL statement to be executed 150 * @return CDbCommand this command instanceModelCommand.php https://github.com/joshuaswarren/weatherhub.git | PHP | 489 lines
152 $relationName=$this->generateRelationName($table1, $table0, true); 153 $this->_relations[$className1][$relationName]="array(self::MANY_MANY, '$className0', '$unprefixedTableName($pks[0], $pks[1])')"; 154 } 156 { 157 $this->_classes[$tableName]=$className=$this->getClassName($tableName); 158 foreach ($table->foreignKeys as $fkName => $fkEntry) 294 $this->generateRelations(); 295 $this->_classes=array($tableName=>$className); 296 } 332 { 333 $files[$className]=$classFile=$basePath.DIRECTORY_SEPARATOR.$className.'.php'; 334 $list['models/'.$className.'.php']=array( 365 { 366 if(!class_exists($className,false)) 367 include_once($file);MigrateCommand.php https://github.com/joshuaswarren/weatherhub.git | PHP | 551 lines
27 /** 28 * @var string the directory that stores the migrations. This must be specified 29 * in terms of a path alias, and the corresponding directory must exist. 33 /** 34 * @var string the name of the table for keeping applied migration information. 35 * This table will be automatically created if not exists. Defaults to 'tbl_migration'. 369 )); 370 echo "*** applied $class (time: ".sprintf("%.3f",$time)."s)\n\n"; 371 } 427 $db->createCommand()->createTable($this->migrationTable, array( 428 'version'=>'string NOT NULL PRIMARY KEY', 429 'apply_time'=>'integer', 525 526class {ClassName} extends CDbMigration 527{interfaces.php https://github.com/joshuaswarren/weatherhub.git | PHP | 609 lines
37 * 38 * This interface must be implemented by classes supporting caching feature. 39 * 48 * Retrieves a value from cache with a specified key. 49 * @param string $id a key identifying the cached value 50 * @return mixed the value stored in cache, false if the value is not in the cache or expired. 69 * 70 * @param string $id the key identifying the value to be cached 71 * @param mixed $value the value to be cached 79 * Nothing will be done if the cache already contains the key. 80 * @param string $id the key identifying the value to be cached 81 * @param mixed $value the value to be cached 88 * Deletes a value with the specified key from cache 89 * @param string $id the key of the value to be deleted 90 * @return boolean whether the deletion is successfulCModule.php https://github.com/joshuaswarren/weatherhub.git | PHP | 501 lines
11/** 12 * CModule is the base class for module and application classes. 13 * 116 * Sets the module ID. 117 * @param string $id the module ID 118 */ 125 * Returns the root directory of the module. 126 * @return string the root directory of the module. Defaults to the directory containing the module class. 127 */ 131 { 132 $class=new ReflectionClass(get_class($this)); 133 $this->_basePath=dirname($class->getFileName()); 262 Yii::trace("Loading \"$id\" module",'system.base.CModule'); 263 $class=$config['class']; 264 unset($config['class'], $config['enabled']);CModel.php https://github.com/joshuaswarren/weatherhub.git | PHP | 624 lines
53 * A built-in validator refers to one of the validators declared in {@link CValidator::builtInValidators}. 54 * And a validator class is a class extending {@link CValidator}.</li> 55 * <li>on: this specifies the scenarios when the validation rule should be performed. 71 * 72 * Note, in order to inherit rules defined in the parent class, a child class needs to 73 * merge the parent rules with child rules using functions like array_merge(). 89 * 'behaviorName'=>array( 90 * 'class'=>'path.to.BehaviorClass', 91 * 'property1'=>'value1', 114 * 115 * Note, in order to inherit labels defined in the parent class, a child class needs to 116 * merge the parent labels with child labels using functions like array_merge(). 285 throw new CException(Yii::t('yii','{class} has an invalid validation rule. The rule must specify attributes to be validated and the validator name.', 286 array('{class}'=>get_class($this)))); 287 }CComponent.php https://github.com/joshuaswarren/weatherhub.git | PHP | 698 lines
171 throw new CException(Yii::t('yii','Property "{class}.{property}" is read only.', 172 array('{class}'=>get_class($this), '{property}'=>$name))); 173 else 244 throw new CException(Yii::t('yii','Property "{class}.{property}" is read only.', 245 array('{class}'=>get_class($this), '{property}'=>$name))); 246 } 269 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', 270 array('{class}'=>get_class($this), '{name}'=>$name))); 271 } 287 * Each behavior is indexed by its name and should be an instance of 288 * {@link IBehavior}, a string specifying the behavior class, or an 289 * array of the following structure: 291 * array( 292 * 'class'=>'path.to.BehaviorClass', 293 * 'property1'=>'value1',CApplication.php https://github.com/joshuaswarren/weatherhub.git | PHP | 967 lines
11/** 12 * CApplication is the base class for all application classes. 13 * 52 * 53 * @property string $basePath Returns the root path of the application. 54 * @property CCache $cache Returns the cache component. 58 * @property CErrorHandler $errorHandler Returns the error handler component. 59 * @property string $extensionPath Returns the root directory that holds all third-party extensions. 60 * @property string $id Returns the unique identifier for the application. 121 // set basePath at early as possible to avoid trouble 122 if(is_string($config)) 123 $config=require($config); 385 * Returns the directory that contains the locale data. 386 * @return string the directory that contains the locale data. It defaults to 'framework/i18n/data'. 387 * @since 1.1.0yiilite.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1622 lines
132 else 133 self::$classMap[$alias]=$classFile; 134 return $alias; 147 $isClass=$className!=='*'; 148 if($isClass && (class_exists($className,false) || interface_exists($className,false))) 149 return self::$_imports[$alias]=$className; 213 else if(isset(self::$classMap[$className])) 214 include(self::$classMap[$className]); 215 else 217 // include class file relying on include_path 218 if(strpos($className,'\\')===false) // class without namespace 219 { 242 } 243 return class_exists($className,false) || interface_exists($className,false); 244 }YiiBase.php https://github.com/joshuaswarren/weatherhub.git | PHP | 850 lines
59 * @var array class map used by the Yii autoloading mechanism. 60 * The array keys are the class names and the array values are the corresponding class file paths. 61 * @since 1.1.5 119 * Creates an application of the specified class. 120 * @param string $class the application class name 121 * @param mixed $config application configuration. This parameter will be passed as the parameter 305 306 $className=(string)substr($alias,$pos+1); 307 $isClass=$className!=='*'; 308 309 if($isClass && (class_exists($className,false) || interface_exists($className,false))) 310 return self::$_imports[$alias]=$className; 392 * This method is provided to be invoked within an __autoload() magic method. 393 * @param string $className class name 394 * @return boolean whether the class has been loaded successfullyxml.php https://github.com/quarkness/piwik.git | PHP | 647 lines
9/**#@+ 10 * include other SimpleTest class files 11 */ 20 */ 21class XmlReporter extends SimpleReporter { 22 var $_indent; 26 * Sets up indentation and namespace. 27 * @param string $namespace Namespace to add to each tag. 28 * @param string $indent Indenting to add on each nesting. 40 * @param integer $offset Extra indenting level. 41 * @return string Leading space. 42 * @access protected 50 /** 51 * Converts character string to parsed XML 52 * entities string.web_tester.php https://github.com/quarkness/piwik.git | PHP | 1412 lines
9/**#@+ 10 * include other SimpleTest class files 11 */ 314 * Sets the value to compare against. 315 * @param string $substring Text to search for. 316 * @param string $message Customised message on failure. 320 $this->SimpleExpectation($message); 321 $this->_substring = $substring; 322 } 364 * found and it's position. 365 * @param string $substring Text to search for. 366 * @param string $subject Subject to search. 387 * Sets the reject pattern 388 * @param string $substring Text to search for. 389 * @param string $message Customised message on failure.url.php https://github.com/quarkness/piwik.git | PHP | 528 lines
9/**#@+ 10 * include other SimpleTest class files 11 */ 77 * Extracts the scheme part of an incoming URL. 78 * @param string $url URL so far. The scheme will be 79 * removed. 217 * Accessor for password. 218 * @return string Password preceding host. 219 * @access public 338 * sense. 339 * @return string Form is string "?a=1&b=2", etc. 340 * @access public 356 * @param string $key Name of parameter. 357 * @param string $value Value as string. 358 * @access publicunit_tester.php https://github.com/quarkness/piwik.git | PHP | 420 lines
96 /** 97 * Type and class test. Will pass if class 98 * matches the type name or is a subclass or 113 /** 114 * Type and class mismatch test. Will pass if class 115 * name or underling type does not match the one 117 * @param mixed $object Object to test. 118 * @param string $type Type name as string. 119 * @param string $message Message to display. 292 * the regex delimiters. 293 * @param string $subject String to search in. 294 * @param string $message Message to display. 316 * the regex delimiters. 317 * @param string $subject String to search in. 318 * @param string $message Message to display.test_case.php https://github.com/quarkness/piwik.git | PHP | 708 lines
163 $methods = array(); 164 foreach (get_class_methods(get_class($this)) as $method) { 165 if ($this->_isTest($method)) { 393 $this->_makeFileVariablesGlobal($existing_globals, $new_globals); 394 $new_classes = array_diff(get_declared_classes(), $existing_classes); 395 if (empty($new_classes)) { 398 $classes = $this->selectRunnableTests($new_classes); 399 $suite = &$this->createSuiteFromClasses($test_file, $classes); 400 return $suite; 422 * twice anyway. 423 * @param string $test_file File name with classes. 424 * @access private 448 } else { 449 $classes[] = $class; 450 }tag.php https://github.com/quarkness/piwik.git | PHP | 1418 lines
64 * Appends string content to the current content. 65 * @param string $content Additional text. 66 * @access public 100 * @param string $label Attribute name. 101 * @return string Attribute value. 102 * @access public 123 * Accessor for the whole content so far. 124 * @return string Content as big raw string. 125 * @access public 213 * Accessor for URL as string. 214 * @return string Coerced as string. 215 * @access public 237 * Starts with a named tag with attributes only. 238 * @param string $name Tag name. 239 * @param hash $attributes Attribute names andscorer.php https://github.com/quarkness/piwik.git | PHP | 863 lines
20 */ 21class SimpleScorer { 22 var $_passes; 50 * The reporter has a veto on what should be run. 51 * @param string $test_case_name name of test case. 52 * @param string $method Name of test method. 85 * Paints the start of a group test. 86 * @param string $test_name Name of test or other label. 87 * @param integer $size Number of test cases starting. 94 * Paints the end of a group test. 95 * @param string $test_name Name of test or other label. 96 * @access public 102 * Paints the start of a test case. 103 * @param string $test_name Name of test or other label. 104 * @access publicparser.php https://github.com/quarkness/piwik.git | PHP | 764 lines
27 */ 28class ParallelRegex { 29 var $_patterns; 48 * Adds a pattern with an optional label. 49 * @param string $pattern Perl style regex, but ( and ) 50 * lose the usual meaning. 64 * a string. 65 * @param string $subject String to match against. 66 * @param string $match First matched portion of 230 * lose the usual meaning. 231 * @param string $mode Should only apply this 232 * pattern when dealing with 233 * this type of input. 234 * @param string $new_mode Change parsing to this new 235 * nested mode.page.php https://github.com/quarkness/piwik.git | PHP | 983 lines
24 */ 25class SimpleTagBuilder { 26 49 $tag_class = $map[$name]; 50 return new $tag_class($attributes); 51 } elseif ($name == 'select') { 225 * End of element event. 226 * @param string $name Element name. 227 * @return boolean False on parse error. 257 * closure that match the tag name. 258 * @param string $name Element name. 259 * @return boolean True if any are still open. 495 * Accessor for current MIME type. 496 * @return string MIME type as string; e.g. 'text/html' 497 * @access publicmock_objects.php https://github.com/quarkness/piwik.git | PHP | 1424 lines
33 */ 34class ParametersExpectation extends SimpleExpectation { 35 var $_expected; 42 * then it is considered to match any. 43 * @param string $message Customised message on failure. 44 * @access public 87 * @param array $comparison Incoming parameter list. 88 * @return string Description of success 89 * or failure. 106 * @param array $parameters Actual parameters received. 107 * @return string Description of difference. 108 * @access private 143 /** 144 * Renders the argument list as a string for 145 * messages.http.php https://github.com/quarkness/piwik.git | PHP | 624 lines
46 * @param string $method HTTP request method, usually GET. 47 * @return string Request line content. 48 * @access protected 56 * Creates the host part of the request. 57 * @return string Host line content. 58 * @access protected 92 * @param string $scheme Protocol to use. 93 * @param string $host Hostname to connect to. 94 * @param integer $port Remote port. 334 * Accessor for raw header block. 335 * @return string All headers as raw string. 336 * @access public 428 * Called on each header line to accumulate the held 429 * data within the class. 430 * @param string $header_line One line of header.frames.php https://github.com/quarkness/piwik.git | PHP | 596 lines
44 * @param SimplePage $page Frame page. 45 * @param string $name Name of frame in frameset. 46 * @access public 134 * will be focused. 135 * @param string $name Chosen frame. 136 * @return boolean True if frame exists. 181 * Accessor for frames information. 182 * @return array/string Recursive hash of frame URL strings. 183 * The key is either a numerical 307 * Accessor for current MIME type. 308 * @return string MIME type as string; e.g. 'text/html' 309 * @access public 452 * @param array $urls List of SimpleUrls. 453 * @param string $frame Name of frame or index. 454 * @return array List of tagged URLs.expectation.php https://github.com/quarkness/piwik.git | PHP | 898 lines
9/**#@+ 10 * include other SimpleTest class files 11 */ 22 */ 23class SimpleExpectation { 24 var $_dumper = false; 29 * the test message. 30 * @param string $message Customised message on failure. 31 */ 48 * @param mixed $compare Comparison value. 49 * @return string Description of success 50 * or failure. 61 * @param SimpleDumper $dumper For formatting the results. 62 * @return string Description of success 63 * or failure.browser.php https://github.com/quarkness/piwik.git | PHP | 1098 lines
313 * Fetches a page and makes it the current page/frame. 314 * @param string/SimpleUrl $url Target to fetch as string. 315 * @param SimplePostEncoding $parameters POST parameters. 330 * @param array $frames List of names to drill down. 331 * @param string/SimpleUrl $url Target to fetch as string. 332 * @param SimpleFormEncoding $parameters POST parameters. 376 * @param string $name Cookie key. 377 * @param string $value Value of cookie. 378 * @param string $host Host upon which the cookie is valid. 378 * @param string $host Host upon which the cookie is valid. 379 * @param string $path Cookie path if not host wide. 380 * @param string $expiry Expiry date. 456 * Will affect cookies, but will not change the base URL. 457 * @param string/SimpleUrl $url Target to fetch as string. 458 * @param hash/SimpleHeadEncoding $parameters Additional parameters forMain.test.php https://github.com/quarkness/piwik.git | PHP | 825 lines
23 */ 24class Test_Piwik_Integration_Main extends Test_Integration 25{ 62 63 // Note: here testing to pass a timestamp to the tracking API rather than the datetime string 64 $t->setForceVisitDateTime(Piwik_Date::factory($dateTime)->addHour(0.2)->getTimestampUTC());Period.test.php https://github.com/quarkness/piwik.git | PHP | 955 lines
11require_once 'Date.php'; 12class Test_Piwik_Period extends UnitTestCase 13{ 34 $label = $period->getLabel(); 35 $this->assertTrue( is_string($label) && !empty($label)); 36 $period = new Piwik_Period_Week( Piwik_Date::today() ); 37 $label = $period->getLabel(); 38 $this->assertTrue( is_string($label) && !empty($label)); 39 $period = new Piwik_Period_Month( Piwik_Date::today() ); 40 $label = $period->getLabel(); 41 $this->assertTrue( is_string($label) && !empty($label)); 42 $period = new Piwik_Period_Year( Piwik_Date::today() ); 43 $label = $period->getLabel(); 44 $this->assertTrue( is_string($label) && !empty($label)); 45 }IP.test.php https://github.com/quarkness/piwik.git | PHP | 677 lines
7require_once 'IP.php'; 8class Test_Piwik_IP extends UnitTestCase 9{ 249 250 // 0.0.39.15 - this is the ambiguous case (i.e., 4 char string) 251 '9999' => '57.57.57.57',DataTable.test.php https://github.com/quarkness/piwik.git | PHP | 655 lines
7 8class Test_Piwik_DataTable extends UnitTestCase 9{ 208 'test_float3'=> 1.5, 209 'test_stringint'=> "145", 210 "test" => 'string fake', 210 "test" => 'string fake', 211 'super'=>array('this column has an array string that will be 0 when algorithm sums the value'), 212 'integerArrayToSum'=>array( 1 => 1, 2 => 10.0, 3 => array(1 => 2, 2 => 3)), 225 'test_float2'=> 14.5, 226 'test_stringint'=> "5", 227 0925824 => 'toto', 236 'test_float3'=> 1.5, 237 'test_stringint'=> 150, //add also strings!! 238 'super'=>array(0),Common.test.php https://github.com/quarkness/piwik.git | PHP | 893 lines
117 $stringOK = 'NewLineNullByte'; 118 $this->assertEqual($stringOK, Piwik_Common::sanitizeInputValues($string)); 119 131 $string = '121564564.0121'; 132 $this->assertEqual($string, Piwik_Common::sanitizeInputValues($string)); 133 $string = 121564564.0121; 133 $string = 121564564.0121; 134 $this->assertEqual($string, Piwik_Common::sanitizeInputValues($string)); 135 $string = 12121; 135 $string = 12121; 136 $this->assertEqual($string, Piwik_Common::sanitizeInputValues($string)); 137 376 */ 377 function test_getParameterFromQueryString_noQuerystring() 378 {API.php https://github.com/quarkness/piwik.git | PHP | 718 lines
25 */ 26class Piwik_UsersManager_API 27{ 30 /** 31 * You can create your own Users Plugin to override this class. 32 * Example of how you would overwrite the UsersManager_API with your own class: 59 * Sets a user preference 60 * @param string $userLogin 61 * @param string $preferenceName 61 * @param string $preferenceName 62 * @param string $preferenceValue 63 * @return void 72 * Gets a user preference 73 * @param string $userLogin 74 * @param string $preferenceNameUserSettings.test.php https://github.com/quarkness/piwik.git | PHP | 860 lines
6 7if(!class_exists('Piwik_UserSettings', false)) 8{ 12 13class Test_Piwik_UserSettings extends UnitTestCase 14{ 14{ 15 // User agent strings and expected parser results 16 protected $userAgents = array( 16 protected $userAgents = array( 17 // 'User Agent String' => array( 18 // array( browser_id, name, short_name, version, major_number, minor_number, family ),API.php https://github.com/quarkness/piwik.git | PHP | 1115 lines
28 */ 29class Piwik_SitesManager_API 30{ 55 * @param string $customTitle Custom title given to the pageview 56 * @return string The Javascript tag ready to be included on the HTML pages 57 */ 74 * Returns all websites belonging to the specified group 75 * @param string $group Group name 76 */ 91 * 92 * @return array of group names strings 93 */ 395 * @param string Comma separated list of IPs to exclude from the reports (allows wildcards) 396 * @param string Timezone string, eg. 'Europe/London' 397 * @param string Currency, eg. 'EUR'Controller.php https://github.com/quarkness/piwik.git | PHP | 467 lines
16 */ 17class Piwik_Referers_Controller extends Piwik_Controller 18{ 223 // which is not good when we have translations 224 $requestString = "method=Referers.getRefererType 225 &format=original 226 &disable_queued_filters=1"; 227 $request = new Piwik_API_Request($requestString); 228 $dataTableReferersType = $request->process();API.php https://github.com/quarkness/piwik.git | PHP | 709 lines
24 */ 25class Piwik_PDFReports_API 26{ 48 * @param int $idSite 49 * @param string $description Report description 50 * @param string $period Schedule frequency: day, week or month 51 * @param bool $sendToMe 52 * @param string $additionalEmails Comma separated list of emails 53 * @param string $reports Comma separated list of reports 172 * @param int $idSite If specified, will filter reports that belong to a specific idsite 173 * @param string $period If specified, will filter reports that are scheduled for this period (day,week,month) 174 * @param int $idReport If specified, will filter the report that has the given idReport 179 { 180 $cacheKey = (int)$idSite .'.'. (string)$period .'.'. (int)$idReport .'.'. (int)$ifSuperUserReturnOnlySuperUserReports; 181 if(isset(self::$cache[$cacheKey]))API.php https://github.com/quarkness/piwik.git | PHP | 511 lines
38 */ 39class Piwik_Live_API 40{ 77 $idSite, 78 Piwik_Date::factory(time() - $lastMinutes * 60)->toString('Y-m-d H:i:s') 79 ); 110 * @param int Site ID 111 * @param string (optional) Period to restrict to when looking at the logs 112 * @param string (optional) Date to restrict toController.php https://github.com/quarkness/piwik.git | PHP | 893 lines
17 */ 18class Piwik_Installation_Controller extends Piwik_Controller 19{ 61 * 62 * @return string function name 63 */ 396 'community' => $form->getSubmitValue('subscribe_newsletter_community'), 397 'url' => Piwik_Url::getCurrentUrlWithoutQueryString(), 398 );ImageGraphObject.php https://github.com/quarkness/piwik.git | PHP | 1079 lines
15 16class Piwik_ImageGraph_ImageGraphObject extends pChart 17{ 102 $this->aliasedGraph = false; 103 if(!empty($title) && is_string($title)) 104 $this->title = $title; 104 $this->title = $title; 105 if(!empty($metricTitle) && is_string($metricTitle)) 106 $this->metricTitle = $metricTitle; 320 { 321 if( !is_string($hexColor) || 322 strlen($hexColor) != 6Controller.php https://github.com/quarkness/piwik.git | PHP | 489 lines
16 */ 17class Piwik_Goals_Controller extends Piwik_Controller 18{ 50 { 51 $view = $this->getGoalReportView($idGoal = Piwik_Common::getRequestVar('idGoal', null, 'string')); 52 $view->displayFullReport = false; 57 { 58 $view = $this->getGoalReportView($idGoal = Piwik_Common::getRequestVar('idGoal', null, 'string')); 59 $view->displayFullReport = true; 74 $label = Piwik_Translate($type); 75 $abandonedCart = Piwik_Common::getRequestVar('viewDataTable', 'ecommerceOrder', 'string') == 'ecommerceAbandonedCart'; 76 296 { 297 $idGoal = Piwik_Common::getRequestVar('idGoal', false, 'string'); 298 }API.php https://github.com/quarkness/piwik.git | PHP | 567 lines
32 */ 33class Piwik_Goals_API 34{ 89 * @param string $matchAttribute 'url', 'title', 'file', 'external_website' or 'manually' 90 * @param string $pattern eg. purchase-confirmation.htm 91 * @param string $patternType 'regex', 'contains', 'exact' 239 ); 240 $notDefinedStringPretty = $reportToNotDefinedString[$recordName]; 241 254 { 255 $dateRewrite = $dataTable->metadata[$key]['period']->getDateStart()->toString(); 256 $row = $customVariableTableForDate->getRowFromLabel($mapping[$recordName]); 352 * 353 * @param string|int $idGoal The goal id as an integer or a special string. 354 * @return int The numeric goal id.Actions.php https://github.com/quarkness/piwik.git | PHP | 802 lines
19 */ 20class Piwik_Actions extends Piwik_Plugin 21{ 58 $segments =& $notification->getNotificationObject(); 59 $sqlFilter = array($this, 'getIdActionFromString'); 60 114 115 function getIdActionFromString($string, $sqlField) 116 { 122 $sql = Piwik_Tracker_Action::getSqlSelectActionId(); 123 $bind = array($string, $string, $actionType); 124unicode_data.php https://github.com/quarkness/piwik.git | PHP | 4237 lines
38 * @file 39 * Unicode data class for TCPDF library. 40 * @author Nicola Asuni 45/** 46 * @class TCPDF_UNICODE_DATA 47 * This is a PHP class containing Unicde data for TCPDF library 51 */ 52class TCPDF_UNICODE_DATA { 53 96/** 97 * Pattern to test RTL (Righ-To-Left) strings using regular expressions. 98 * @public 114/** 115 * Pattern to test Arabic strings using regular expressions. Source: http://www.w3.org/International/questions/qa-forms-utf-8 116 * @publicbarcodes.php https://github.com/quarkness/piwik.git | PHP | 1707 lines
29// 30// Description : PHP class to creates array representations for 31// common 1D barcodes to be used with TCPDF. 36 * @file 37 * PHP class to creates array representations for common 1D barcodes to be used with TCPDF. 38 * @package com.tecnick.tcpdf 43/** 44 * @class TCPDFBarcode 45 * PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br> 49 */ 50class TCPDFBarcode { 51 58 /** 59 * This is the class constructor. 60 * Return an array representations for common 1D barcodes:<ul>Hostname.php https://github.com/quarkness/piwik.git | PHP | 784 lines
46 */ 47class Zend_Validate_Hostname extends Zend_Validate_Abstract 48{ 65 self::CANNOT_DECODE_PUNYCODE => "'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded", 66 self::INVALID => "Invalid type given. String expected", 67 self::INVALID_DASH => "'%value%' appears to be a DNS hostname but contains a dash in an invalid position", 139 /** 140 * @var string 141 */EmailAddress.php https://github.com/quarkness/piwik.git | PHP | 560 lines
45 const DOT_ATOM = 'emailAddressDotAtom'; 46 const QUOTED_STRING = 'emailAddressQuotedString'; 47 const INVALID_LOCAL_PART = 'emailAddressInvalidLocalPart'; 59 self::DOT_ATOM => "'%localPart%' can not be matched against dot-atom format", 60 self::QUOTED_STRING => "'%localPart%' can not be matched against quoted-string format", 61 self::INVALID_LOCAL_PART => "'%localPart%' is no valid local part for email address '%value%'", 200 * 201 * @param string $messageString 202 * @param string $messageKey OPTIONAL 205 */ 206 public function setMessage($messageString, $messageKey = null) 207 { 217 218 $this->_messageTemplates[$messageKeys] = $messageString; 219 return $this;Http.php https://github.com/quarkness/piwik.git | PHP | 765 lines
40 */ 41class Zend_Uri_Http extends Zend_Uri 42{ 61 * 62 * @var string 63 */ 68 * 69 * @var string 70 */ 162 * 163 * @param string $uri String to create URI from, must start with 164 * 'http://' or 'https://' 169 */ 170 public static function fromString($uri) 171 {DbTable.php https://github.com/quarkness/piwik.git | PHP | 591 lines
51 */ 52class Zend_Session_SaveHandler_DbTable 53 extends Zend_Db_Table_Abstract 82 * 83 * @var string 84 */ 89 * 90 * @var string 91 */ 96 * 97 * @var string 98 */ 117 * 118 * @var string 119 */Namespace.php https://github.com/quarkness/piwik.git | PHP | 529 lines
43 */ 44class Zend_Session_Namespace extends Zend_Session_Abstract implements IteratorAggregate 45{ 54 * 55 * @var string 56 */ 75 * 76 * @param string $namespaceName 77 * @return null 97 * 98 * @param string $namespace - programmatic name of the requested namespace 99 * @param bool $singleInstance - prevent creation of additional accessor instance objects for this namespace 108 // require_once 'Zend/Session/Exception.php'; 109 throw new Zend_Session_Exception('Session namespace must be a non-empty string.'); 110 }File.php https://github.com/quarkness/piwik.git | PHP | 511 lines
37 */ 38class Zend_OpenId_Consumer_Storage_File extends Zend_OpenId_Consumer_Storage 39{ 43 * 44 * @var string $_dir 45 */ 50 * 51 * @param string $dir directory name to store data files in 52 * @throws Zend_OpenId_Exception 64 $user = get_current_user(); 65 if (is_string($user) && !empty($user)) { 66 $tmp .= '/' . $user; 116 * 117 * @param string $url OpenID server URL 118 * @param string $handle assiciation handleProvider.php https://github.com/quarkness/piwik.git | PHP | 803 lines
42 */ 43class Zend_OpenId_Provider 44{ 69 * 70 * @var string $_loginUrl 71 */ 76 * 77 * @var string $_trustUrl 78 */ 83 * 84 * @var string $_opEndpoint 85 */ 90 * 91 * @param string $loginUrl is an URL that provides login screen for 92 * end-user (by default it is the same URL with additional GET variableConsumer.php https://github.com/quarkness/piwik.git | PHP | 958 lines
52 */ 53class Zend_OpenId_Consumer 54{ 94 * 95 * @var string $_error 96 */ 127 * 128 * @param string $id OpenID identity 129 * @param string $returnTo URL to redirect response from server to 129 * @param string $returnTo URL to redirect response from server to 130 * @param string $root HTTP URL to identify consumer on server 131 * @param mixed $extensions extension object or array of extensions objects 154 * 155 * @param string $id OpenID identity 156 * @param string $returnTo HTTP URL to redirect response from server toMaildir.php https://github.com/quarkness/piwik.git | PHP | 1049 lines
41 */ 42class Zend_Mail_Storage_Writable_Maildir extends Zend_Mail_Storage_Folder_Maildir 43 implements Zend_Mail_Storage_Writable_Interface 57 * 58 * @param string $dir directory for the new maildir (may already exist) 59 * @return null 128 * 129 * @param string $name global name of folder, local name if $parentFolder is set 130 * @param string|Zend_Mail_Storage_Folder $parentFolder parent folder for new folder, else root folder is parent 130 * @param string|Zend_Mail_Storage_Folder $parentFolder parent folder for new folder, else root folder is parent 131 * @return string only used internally (new created maildir) 132 * @throws Zend_Mail_Storage_Exception 217 * 218 * @param string|Zend_Mail_Storage_Folder $name name or instance of folder 219 * @return nullImap.php https://github.com/quarkness/piwik.git | PHP | 644 lines
68{ 69 // TODO: with an internal cache we could optimize this class, or create an extra class with 70 // such optimizations. Especially the various fetch calls could be combined to one cache call 79 * name of current folder 80 * @var string 81 */ 132 $params[] = 'KEYWORD'; 133 $params[] = $this->_protocol->escapeString($flag); 134 } 170 171 return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $header, 'flags' => $flags)); 172 } 180 * @param int $topLines include this many lines with header (after an empty line) 181 * @return string raw header 182 * @throws Zend_Mail_Protocol_ExceptionImap.php https://github.com/quarkness/piwik.git | PHP | 838 lines
299 * @param string $tag the tag of your request 300 * @param string|array $filter you can filter the response so you get only the 301 * given response lines 395 * 396 * @param string|array $string the literal/-s 397 * @return string|array escape literals, literals with newline ar returned 399 */ 400 public function escapeString($string) 401 { 403 if (strpos($string, "\n") !== false) { 404 return array('{' . strlen($string) . '}', $string); 405 } else { 410 foreach (func_get_args() as $string) { 411 $result[] = $this->escapeString($string); 412 }AbstractDevice.php https://github.com/quarkness/piwik.git | PHP | 985 lines
24/** 25 * Abstract Class to define a browser device. 26 * 32 */ 33abstract class Zend_Http_UserAgent_AbstractDevice 34 implements Zend_Http_UserAgent_Device 38 * 39 * @var string 40 */ 45 * 46 * @var string 47 */ 59 * 60 * @var string 61 */Socket.php https://github.com/quarkness/piwik.git | PHP | 544 lines
37/** 38 * A sockets based (stream_socket_client) adapter class for Zend_Http_Client. Can be used 39 * on almost every PHP environment, and does not require any special extensions. 46 */ 47class Zend_Http_Client_Adapter_Socket implements Zend_Http_Client_Adapter_Interface, Zend_Http_Client_Adapter_Stream 48{ 85 * 86 * @var string 87 */ 187 * 188 * @param string $host 189 * @param int $port 257 * @param string $body 258 * @return string Request as string 259 */Curl.php https://github.com/quarkness/piwik.git | PHP | 510 lines
38/** 39 * An adapter class for Zend_Http_Client based on the curl extension. 40 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl 47 */ 48class Zend_Http_Client_Adapter_Curl implements Zend_Http_Client_Adapter_Interface, Zend_Http_Client_Adapter_Stream 49{ 80 * 81 * @var string 82 */ 179 * 180 * @param string|int $option 181 * @param mixed $value 195 * 196 * @param string $host 197 * @param int $portUserAgent.php https://github.com/quarkness/piwik.git | PHP | 853 lines
24 * 25 * - http://www.useragentstring.com/layout/useragentstring.php 26 * - http://user-agent-string.info/list-of-ua 177 'config' => $this->_config, 178 'device_class' => get_class($device), 179 'device' => $device->serialize(), 280 * 281 * @param string $deviceClass Name of class against which a match will be attempted 282 * @return bool 286 // Validate device class 287 $r = new ReflectionClass($deviceClass); 288 if (!$r->implementsInterface('Zend_Http_UserAgent_Device')) { 323 if (is_array($deviceConfig) && isset($deviceConfig['classname'])) { 324 $device = (string) $deviceConfig['classname']; 325 if (!class_exists($device)) {Response.php https://github.com/quarkness/piwik.git | PHP | 667 lines
33 */ 34class Zend_Http_Response 35{ 98 * 99 * @var string 100 */ 110 /** 111 * The HTTP response code as string 112 * (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500) 113 * 114 * @var string 115 */ 127 * 128 * @var string 129 */Client.php https://github.com/quarkness/piwik.git | PHP | 1539 lines
228 /** 229 * The last HTTP request sent by the client, as string 230 * 331 * 332 * @param boolean $as_string If true, will return the URI as a string 333 * @return Zend_Uri_Http|string 380 * 381 * @param string $method 382 * @return Zend_Http_Client 408 * and $value as it's value (e.g. 'www.example.com'). 409 * 2. By providing a single header string as the only parameter 410 * e.g. 'Host: www.example.com' 414 * 415 * @param string|array $name Header name, full header string ('Header: value') 416 * or an array of headersRss.php https://github.com/quarkness/piwik.git | PHP | 505 lines
42 */ 43class Zend_Feed_Writer_Renderer_Feed_Rss 44 extends Zend_Feed_Writer_Renderer_RendererAbstract 215 /** 216 * Set feed generator string 217 * 331 if (!isset($image['title']) || empty($image['title']) 332 || !is_string($image['title'])) { 333 // require_once 'Zend/Feed/Exception.php'; 342 } 343 if (empty($image['link']) || !is_string($image['link']) 344 || !Zend_Uri::check($image['link'])) { 346 $message = 'Invalid parameter: parameter \'link\'' 347 . ' must be a non-empty string and valid URI/IRI'; 348 $exception = new Zend_Feed_Exception($message);Atom.php https://github.com/quarkness/piwik.git | PHP | 444 lines
34 */ 35class Zend_Feed_Writer_Renderer_Entry_Atom 36 extends Zend_Feed_Writer_Renderer_RendererAbstract 303 * 304 * @param string $id 305 * @return bool 368 /** 369 * Load a HTML string and attempt to normalise to XML 370 */ 373 $xhtml = ''; 374 if (class_exists('tidy', false)) { 375 $tidy = new tidy; 381 $encoding = str_replace('-', '', $this->getEncoding()); 382 $tidy->parseString($content, $config, $encoding); 383 $tidy->cleanRepair();FeedAbstract.php https://github.com/quarkness/piwik.git | PHP | 872 lines
60 */ 61class Zend_Feed_Writer_Feed_FeedAbstract 62{ 73 * 74 * @var string 75 */ 93 * @param int $index 94 * @return string|null 95 */ 99 if (is_array($name)) { 100 if (!array_key_exists('name', $name) || empty($name['name']) || !is_string($name['name'])) { 101 // require_once 'Zend/Feed/Exception.php'; 101 // require_once 'Zend/Feed/Exception.php'; 102 throw new Zend_Feed_Exception('Invalid parameter: author array must include a "name" key with a non-empty string value'); 103 }Entry.php https://github.com/quarkness/piwik.git | PHP | 761 lines
39 */ 40class Zend_Feed_Writer_Entry 41{ 60 * 61 * @var string 62 */ 80 * @param int $index 81 * @return string|null 82 */ 88 || empty($name['name']) 89 || !is_string($name['name']) 90 ) { 91 // require_once 'Zend/Feed/Exception.php'; 92 throw new Zend_Feed_Exception('Invalid parameter: author array must include a "name" key with a non-empty string value'); 93 }Rss.php https://github.com/quarkness/piwik.git | PHP | 733 lines
59 * @param DOMDocument $dom 60 * @param string $type 61 */ 65 66 $dublinCoreClass = Zend_Feed_Reader::getPluginLoader()->getClassName('DublinCore_Feed'); 67 $this->_extensions['DublinCore_Feed'] = new $dublinCoreClass($dom, $this->_data['type'], $this->_xpath); 67 $this->_extensions['DublinCore_Feed'] = new $dublinCoreClass($dom, $this->_data['type'], $this->_xpath); 68 $atomClass = Zend_Feed_Reader::getPluginLoader()->getClassName('Atom_Feed'); 69 $this->_extensions['Atom_Feed'] = new $atomClass($dom, $this->_data['type'], $this->_xpath); 225 if (!$dateModified) { 226 $dateModified = $this->_xpath->evaluate('string(/rss/channel/lastBuildDate)'); 227 } 461 * 462 * @return string|null 463 */Feed.php https://github.com/quarkness/piwik.git | PHP | 590 lines
47 */ 48class Zend_Feed_Reader_Extension_Atom_Feed 49 extends Zend_Feed_Reader_Extension_FeedAbstract 54 * @param int $index 55 * @return string|null 56 */ 107 * 108 * @return string|null 109 */ 118 if ($this->getType() === Zend_Feed_Reader::TYPE_ATOM_03) { 119 $copyright = $this->_xpath->evaluate('string(' . $this->getXpathPrefix() . '/atom:copyright)'); 120 } else { 120 } else { 121 $copyright = $this->_xpath->evaluate('string(' . $this->getXpathPrefix() . '/atom:rights)'); 122 }Entry.php https://github.com/quarkness/piwik.git | PHP | 661 lines
57 */ 58class Zend_Feed_Reader_Extension_Atom_Entry 59 extends Zend_Feed_Reader_Extension_EntryAbstract 64 * @param int $index 65 * @return string|null 66 */ 122 * 123 * @return string 124 */ 192 * 193 * @return string 194 */ 203 if ($this->_getAtomType() === Zend_Feed_Reader::TYPE_ATOM_03) { 204 $dateCreated = $this->getXpath()->evaluate('string(' . $this->getXpathPrefix() . '/atom:created)'); 205 } else {Rss.php https://github.com/quarkness/piwik.git | PHP | 668 lines
118 119 $contentClass = $pluginLoader->getClassName('Content_Entry'); 120 $this->_extensions['Content_Entry'] = new $contentClass($entry, $entryKey, $type); 121 122 $atomClass = $pluginLoader->getClassName('Atom_Entry'); 123 $this->_extensions['Atom_Entry'] = new $atomClass($entry, $entryKey, $type); 124 125 $wfwClass = $pluginLoader->getClassName('WellFormedWeb_Entry'); 126 $this->_extensions['WellFormedWeb_Entry'] = new $wfwClass($entry, $entryKey, $type); 127 128 $slashClass = $pluginLoader->getClassName('Slash_Entry'); 129 $this->_extensions['Slash_Entry'] = new $slashClass($entry, $entryKey, $type); 130 131 $threadClass = $pluginLoader->getClassName('Thread_Entry'); 132 $this->_extensions['Thread_Entry'] = new $threadClass($entry, $entryKey, $type);Subscriber.php https://github.com/quarkness/piwik.git | PHP | 860 lines
37 */ 38class Zend_Feed_Pubsubhubbub_Subscriber 39{ 59 * 60 * @var string 61 */ 66 * 67 * @var string 68 */ 87 * 88 * @var string 89 */ 132 * This is required for all Hubs using the Pubsubhubbub 0.1 Specification. 133 * It should be manually intercepted and passed to the Callback class using 134 * Zend_Feed_Pubsubhubbub_Subscriber_Callback::setSubscriptionKey(). WillRss.php https://github.com/quarkness/piwik.git | PHP | 529 lines
35/** 36 * RSS channel class 37 * 37 * 38 * The Zend_Feed_Rss class is a concrete subclass of 39 * Zend_Feed_Abstract meant for representing RSS channels. It does not 39 * Zend_Feed_Abstract meant for representing RSS channels. It does not 40 * add any methods to its parent, just provides a classname to check 41 * against with the instanceof operator, and expects to be handling 48 */ 49class Zend_Feed_Rss extends Zend_Feed_Abstract 50{ 51 /** 52 * The classname for individual channel elements. 53 *Reader.php https://github.com/quarkness/piwik.git | PHP | 735 lines
219 * @param string $url The URL to the feed 220 * @param string $etag OPTIONAL Last received ETag for this resource 221 * @param string $lastModified OPTIONAL Last-Modified value for this resource 272 } 273 return self::importString($responseXml); 274 } elseif ($cache) { 328 /** 329 * Import a feed froma string 330 * 330 * 331 * @param string $string 332 * @return Zend_Feed_Reader_FeedInterface 333 */ 334 public static function importString($string) 335 {Abstract.php https://github.com/quarkness/piwik.git | PHP | 1203 lines
117 $this->_table = $config['table']; 118 $this->_tableClass = get_class($this->_table); 119 } elseif ($this->_tableClass !== null) { 119 } elseif ($this->_tableClass !== null) { 120 $this->_table = $this->_getTableFromString($this->_tableClass); 121 } 342 343 $tableClass = get_class($table); 344 if (! $table instanceof $this->_tableClass) { 345 // require_once 'Zend/Db/Table/Row/Exception.php'; 346 throw new Zend_Db_Table_Row_Exception("The specified Table is of class $tableClass, expecting class to be instance of $this->_tableClass"); 347 } 349 $this->_table = $table; 350 $this->_tableClass = $tableClass; 351Abstract.php https://github.com/quarkness/piwik.git | PHP | 1510 lines
60 const ROW_CLASS = 'rowClass'; 61 const ROWSET_CLASS = 'rowsetClass'; 62 const REFERENCE_MAP = 'referenceMap'; 379 { 380 $this->_rowClass = (string) $classname; 381 398 { 399 $this->_rowsetClass = (string) $classname; 400 416 * @param string|array $columns 417 * @param string $refTableClass 418 * @param string|array $refColumns 461 { 462 $thisClass = get_class($this); 463 if ($thisClass === 'Zend_Db_Table') {Oracle.php https://github.com/quarkness/piwik.git | PHP | 577 lines
60 * 61 * @param string $lob_as_string 62 * @return Zend_Db_Statement_Oracle 63 */ 64 public function setLobAsString($lob_as_string) 65 { 65 { 66 $this->_lobAsString = (bool) $lob_as_string; 67 return $this; 82 * 83 * @param string $sql 84 * @return void 300 301 $lob_as_string = $this->getLobAsString() ? OCI_RETURN_LOBS : 0; 302Sqlsrv.php https://github.com/quarkness/piwik.git | PHP | 673 lines
149 // A value may be a constant. 150 if (is_string($value)) { 151 $constantName = strtoupper($value); 287 $this->_connect(); 288 $stmtClass = $this->_defaultStmtClass; 289 289 290 if (!class_exists($stmtClass)) { 291 /** 294 // require_once 'Zend/Loader.php'; 295 Zend_Loader::loadClass($stmtClass); 296 } 306 * @param string $value Raw string 307 * @return string Quoted string 308 */Oracle.php https://github.com/quarkness/piwik.git | PHP | 643 lines
172 */ 173 public function setLobAsString($lobAsString) 174 { 207 $stmtClass = $this->_defaultStmtClass; 208 if (!class_exists($stmtClass)) { 209 // require_once 'Zend/Loader.php'; 209 // require_once 'Zend/Loader.php'; 210 Zend_Loader::loadClass($stmtClass); 211 } 213 if ($stmt instanceof Zend_Db_Statement_Oracle) { 214 $stmt->setLobAsString($this->getLobAsString()); 215 } 223 * @param string $value Raw string 224 * @return string Quoted string 225 */Mysqli.php https://github.com/quarkness/piwik.git | PHP | 549 lines
101 * 102 * @return string Quoted string 103 */ 109 $this->_connect(); 110 return "'" . $this->_connection->real_escape_string($value) . "'"; 111 } 173 * @param string $tableName 174 * @param string $schemaName OPTIONAL 175 * @return array 375 } 376 $stmtClass = $this->_defaultStmtClass; 377 if (!class_exists($stmtClass)) { 378 // require_once 'Zend/Loader.php'; 379 Zend_Loader::loadClass($stmtClass); 380 }Db2.php https://github.com/quarkness/piwik.git | PHP | 840 lines
52 * 53 * username => (string) Connect to the database as this username. 54 * password => (string) Password associated with the username. 232 $this->_connect(); 233 $stmtClass = $this->_defaultStmtClass; 234 if (!class_exists($stmtClass)) { 235 // require_once 'Zend/Loader.php'; 236 Zend_Loader::loadClass($stmtClass); 237 } 275 /** 276 * Quote a raw string. 277 * 278 * @param string $value Raw string 279 * @return string Quoted string 280 */Abstract.php https://github.com/quarkness/piwik.git | PHP | 1280 lines
335 * A boolean argument sets the profiler to enabled if true, or disabled if 336 * false. The profiler class is the adapter's default profiler class, 337 * Zend_Db_Profiler. 345 * class to use for a custom profiler. The class must be Zend_Db_Profiler or a 346 * subclass. The class is instantiated with no constructor arguments. The 'class' 347 * option is ignored when the 'instance' option is supplied. 402 // require_once 'Zend/Db/Profiler/Exception.php'; 403 throw new Zend_Db_Profiler_Exception('Class ' . get_class($profilerInstance) . ' does not extend ' 404 . 'Zend_Db_Profiler'); 441 */ 442 public function setStatementClass($class) 443 { 443 { 444 $this->_defaultStmtClass = $class; 445 return $this;Select.php https://github.com/quarkness/piwik.git | PHP | 1351 lines
35/** 36 * Class for SQL SELECT generation and results. 37 * 43 */ 44class Zend_Db_Select 45{ 158 /** 159 * Class constructor 160 * 206 * 207 * The first parameter $name can be a simple string, in which case the 208 * correlation name is generated automatically. If you want to specify 214 * 215 * The second parameter can be a single string or Zend_Db_Expr object, 216 * or else an array of strings or Zend_Db_Expr objects.TwoLevels.php https://github.com/quarkness/piwik.git | PHP | 536 lines
184 * @param string $id Cache id 185 * @param array $tags Array of strings, the cache record will be tagged by each string entry 186 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 219 * 220 * @param string $id Cache id 221 * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested 272 * Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags 273 * ($tags can be an array of strings or a single string) 274 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 274 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 275 * ($tags can be an array of strings or a single string) 276 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 276 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 277 * ($tags can be an array of strings or a single string) 278 *Static.php https://github.com/quarkness/piwik.git | PHP | 564 lines
194 * 195 * @param string $data Datas to cache 196 * @param string $id Cache id 196 * @param string $id Cache id 197 * @param array $tags Array of strings, the cache record will be tagged by each string entry 198 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 372 * Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags 373 * ($tags can be an array of strings or a single string) 374 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 374 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 375 * ($tags can be an array of strings or a single string) 376 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 376 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 377 * ($tags can be an array of strings or a single string) 378 *Sqlite.php https://github.com/quarkness/piwik.git | PHP | 678 lines
148 * 149 * Note : $data is always "string" (serialization is done by the 150 * core not by the backend) 153 * @param string $id Cache id 154 * @param array $tags Array of strings, the cache record will be tagged by each string entry 155 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 207 * Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags 208 * ($tags can be an array of strings or a single string) 209 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 209 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 210 * ($tags can be an array of strings or a single string) 211 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 211 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 212 * ($tags can be an array of strings or a single string) 213 *Memcached.php https://github.com/quarkness/piwik.git | PHP | 504 lines
40 */ 41class Zend_Cache_Backend_Memcached extends Zend_Cache_Backend implements Zend_Cache_Backend_ExtendedInterface 42{ 175 * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested 176 * @return string|false cached datas 177 */ 189 * 190 * @param string $id Cache id 191 * @return mixed|false (a cache is not available) or "last modified" timestamp (int) of the available cache record 209 * @param string $id Cache id 210 * @param array $tags Array of strings, the cache record will be tagged by each string entry 211 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 416 * 417 * @param string $id cache id 418 * @return array array of metadatas (false if the cache id is not foundLibmemcached.php https://github.com/quarkness/piwik.git | PHP | 484 lines
159 * 160 * @param string $id Cache id 161 * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested 161 * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested 162 * @return string|false cached datas 163 */ 175 * 176 * @param string $id Cache id 177 * @return int|false (a cache is not available) or "last modified" timestamp (int) of the available cache record 195 * @param string $id Cache id 196 * @param array $tags Array of strings, the cache record will be tagged by each string entry 197 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 402 * - expire : the expire timestamp 403 * - tags : a string array of tags 404 * - mtime : timestamp of last modification timeFile.php https://github.com/quarkness/piwik.git | PHP | 1007 lines
168 * 169 * @param string $id cache id 170 * @param boolean $doNotTestCacheValidity if set to true, the cache validity won't be tested 214 * @param string $id Cache id 215 * @param array $tags Array of strings, the cache record will be tagged by each string entry 216 * @param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime) 274 * Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags 275 * ($tags can be an array of strings or a single string) 276 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 276 * Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags} 277 * ($tags can be an array of strings or a single string) 278 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 278 * Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags 279 * ($tags can be an array of strings or a single string) 280 *Core.php https://github.com/quarkness/piwik.git | PHP | 764 lines
27 */ 28class Zend_Cache_Core 29{ 54 * 55 * =====> (string) cache_id_prefix : 56 * - prefix for cache ids (namespace) 59 * - Enable / disable automatic serialization 60 * - It can be used to save directly datas which aren't strings (but it's slower) 61 * 111 * 112 * @var string $_lastId 113 */ 183 $this->_backend->setDirectives($directives); 184 if (in_array('Zend_Cache_Backend_ExtendedInterface', class_implements($this->_backend))) { 185 $this->_extendedBackend = true;Ldap.php https://github.com/quarkness/piwik.git | PHP | 528 lines
34 */ 35class Zend_Auth_Adapter_Ldap implements Zend_Auth_Adapter_Interface 36{ 54 * 55 * @var string 56 */ 61 * 62 * @var string 63 */ 68 * 69 * @var string 70 */ 76 * @param array $options An array of arrays of Zend_Ldap options 77 * @param string $username The username of the account being authenticated 78 * @param string $password The password of the account being authenticatedHttp.php https://github.com/quarkness/piwik.git | PHP | 869 lines
43 */ 44class Zend_Auth_Adapter_Http implements Zend_Auth_Adapter_Interface 45{ 74 /** 75 * List of authentication schemes supported by this class 76 * 81 /** 82 * List of schemes this class will accept from the client 83 * 90 * 91 * @var string 92 */ 97 * 98 * @var string 99 */DbTable.php https://github.com/quarkness/piwik.git | PHP | 561 lines
46 */ 47class Zend_Auth_Adapter_DbTable implements Zend_Auth_Adapter_Interface 48{ 64 * 65 * @var string 66 */ 71 * 72 * @var string 73 */ 78 * 79 * @var string 80 */ 85 * 86 * @var string 87 */OpenId.php https://github.com/quarkness/piwik.git | PHP | 754 lines
31 * 32 * This class implements common utility functions that are used by both 33 * Consumer and Provider. They include functions for Diffie-Hellman keys 73 * 74 * @param string $selfUrl the URL to be set 75 * @return string the old value of overriding URL 86 * 87 * @return string 88 */ 192 /** 193 * Converts variable/value pairs into URL encoded query string 194 * 195 * @param array $params variable/value pairs 196 * @return string URL encoded query string 197 */Mail.php https://github.com/quarkness/piwik.git | PHP | 1276 lines
44/** 45 * Class for sending an email. 46 * 51 */ 52class Zend_Mail extends Zend_Mime_Message 53{ 77 * Mail character set 78 * @var string 79 */ 89 * Encoding of Mail headers 90 * @var string 91 */ 95 * From: address 96 * @var string 97 */Log.php https://github.com/quarkness/piwik.git | PHP | 624 lines
261 $params = isset($config[ $type .'Params' ]) ? $config[ $type .'Params' ] : array(); 262 $className = $this->getClassName($config, $type, $namespace); 263 if (!class_exists($className)) { 264 // require_once 'Zend/Loader.php'; 265 Zend_Loader::loadClass($className); 266 } 267 268 $reflection = new ReflectionClass($className); 269 if (!$reflection->implementsInterface('Zend_Log_FactoryInterface')) { 284 * @param string $defaultNamespace 285 * @return string full classname 286 * @throws Zend_Log_Exception 300 301 $fullClassName = $namespace . '_' . $className; 302 return $fullClassName;UserAgentParser.php https://github.com/quarkness/piwik.git | PHP | 620 lines
62 */ 63class UserAgentParser 64{ 317 * 318 * @param string $userAgent 319 * @return string false if OS couldn't be identified, or 3 letters ID (eg. WXP) 344 /** 345 * Returns the browser information array, given a user agent string. 346 * 346 * 347 * @param string $userAgent 348 * @return array false if the browser is "unknown", orSmarty_Compiler.class.php https://github.com/quarkness/piwik.git | PHP | 1206 lines
4 * Project: Smarty: the PHP compiling template engine 5 * File: Smarty_Compiler.class.php 6 * 31/** 32 * Template compiling class 33 * @package Smarty 34 */ 35class Smarty_Compiler extends Smarty { 36 78 /** 79 * The class constructor. 80 */ 82 { 83 // matches double quoted strings: 84 // "foobar"Smarty.class.php https://github.com/quarkness/piwik.git | PHP | 1553 lines
4 * Project: Smarty: the PHP compiling template engine 5 * File: Smarty.class.php 6 * 63 */ 64class Smarty 65{ 72 * 73 * @var string 74 */ 79 * 80 * @var string 81 */ 86 * 87 * @var string 88 */PiwikTracker.php https://github.com/quarkness/piwik.git | PHP | 994 lines
8 * 9 * This class requires: 10 * - json extension (json_decode, json_encode) 23 */ 24class PiwikTracker 25{ 27 * Piwik base URL, for example http://example.org/piwik/ 28 * Must be set before using the class by calling 29 * PiwikTracker::$URL = 'http://yourwebsite.org/piwik/'; 30 * 31 * @var string 32 */ 59 * @param int $idSite Id site to be tracked 60 * @param string $apiUrl "http://example.org/piwik/" or "http://piwik.example.org/" 61 * If set, will overwrite PiwikTracker::$URLpclzip.lib.php https://github.com/quarkness/piwik.git | PHP | 1309 lines
132 define( 'PCLZIP_OPT_SET_CHMOD', 77005 ); 133 define( 'PCLZIP_OPT_EXTRACT_AS_STRING', 77006 ); 134 define( 'PCLZIP_OPT_NO_COMPRESSION', 77007 ); 178 // Description : 179 // PclZip is the class that represent a Zip archive. 180 // The public methods allow the manipulation of the archive. 189 // -------------------------------------------------------------------------------- 190 class PclZip 191 { 353 354 // ----- The list is a list of string names 355 else { 373 if (sizeof($v_string_list) != 0) { 374 foreach ($v_string_list as $v_string) { 375 if ($v_string != '') {Default.php https://github.com/quarkness/piwik.git | PHP | 598 lines
112 ), 113 'html_quickform2_element' => '<div class="row"><label for="{id}" class="element"><qf:required><span class="required">* </span></qf:required>{label}</label><div class="element<qf:error> error</qf:error>"><qf:error><span class="error">{error}</span><br /></qf:error>{element}</div></div>', 114 'html_quickform2_container_group' => '<div class="row"><label class="element"><qf:required><span class="required">* </span></qf:required>{label}</label><div class="element group<qf:error> error</qf:error>"><qf:error><span class="error">{error}</span><br /></qf:error>{content}</div></div>' 125 * 126 * Array has the form ('group class' => ('element class' => 'template', ...), ...) 127 * 222 * @param string Group class name 223 * @param string Element class name 224 * @param mixed Template 226 */ 227 public function setElementTemplateForGroupClass($groupClass, $elementClass, $template) 228 { 228 { 229 $this->elementTemplatesForGroupClass[strtolower($groupClass)][strtolower($elementClass)] = $template; 230 return $this;Select.php https://github.com/quarkness/piwik.git | PHP | 575 lines
54 * 55 * This class handles the output of <option> tags. The class is not intended to 56 * be used directly. 63 */ 64class HTML_QuickForm2_Element_Select_OptionContainer extends HTML_Common2 65 implements IteratorAggregate, Countable 70 * Options are stored as arrays (for performance reasons), optgroups as 71 * instances of Optgroup class. 72 * 220/** 221 * Class representing an <optgroup> tag 222 * 370 self::getOption('linebreak') . 371 $this->optionContainer->__toString() . 372 $indent . '</select>';Date.php https://github.com/quarkness/piwik.git | PHP | 503 lines
46/** 47 * Base class for HTML_QuickForm2 group of elements 48 */ 50/** 51 * Base class for HTML_QuickForm2 select element 52 */ 55/** 56 * Class for a group of elements used to input dates (and times). 57 * 252 * 253 * @param string A numeric string, possibly with leading zeros 254 * @return string String with leading zeros removed 268 * element value 269 * @param int|string|array A timestamp, a string compatible with strtotime() 270 * or an array that fits the element namesNode.php https://github.com/quarkness/piwik.git | PHP | 693 lines
2/** 3 * Base class for all HTML_QuickForm2 elements 4 * 46/** 47 * HTML_Common2 - base class for HTML elements 48 */ 58/** 59 * Exception classes for HTML_QuickForm2 60 */ 64/** 65 * Static factory class for QuickForm2 elements 66 */ 69/** 70 * Base class for HTML_QuickForm2 rules 71 */Controller.php https://github.com/quarkness/piwik.git | PHP | 508 lines
57 * 58 * This class keeps track of pages and (default) action handlers for the form, 59 * it manages $_SESSION container for the form values, allows setting 67 */ 68class HTML_QuickForm2_Controller implements IteratorAggregate 69{ 140 /** 141 * Class constructor 142 * 152 * 153 * @param string Form ID 154 * @param boolean Whether the form is a wizard 297 $className = 'HTML_QuickForm2_Controller_Action_' . ucfirst($actionName); 298 if (!class_exists($className)) { 299 HTML_QuickForm2_Loader::loadClass($className);Container.php https://github.com/quarkness/piwik.git | PHP | 487 lines
2/** 3 * Base class for simple HTML_QuickForm2 containers 4 * 46/** 47 * Base class for all HTML_QuickForm2 elements 48 */ 51/** 52 * Abstract base class for simple QuickForm2 containers 53 * 59 */ 60abstract class HTML_QuickForm2_Container extends HTML_QuickForm2_Node 61 implements IteratorAggregate, Countable 71 { 72 $this->attributes['name'] = (string)$name; 73 return $this;Common2.php https://github.com/quarkness/piwik.git | PHP | 488 lines
141 * 142 * @param string HTML attribute string 143 * @return array An associative aray of attributes 210 * @param array Attribute array 211 * @return string Attribute string 212 */ 405 */ 406 public function hasClass($class) 407 { 414 * 415 * @param string|array Class name, multiple class names separated by 416 * whitespace, array of class names 438 * 439 * @param string|array Class name, multiple class names separated by 440 * whitespace, array of class namesDispatcher.php https://github.com/quarkness/piwik.git | PHP | 485 lines
182 * @param string Expected notification name, serves as a filter 183 * @param string Expected contained object class, serves as a filter 184 * @return void 211 $objClass = is_object($object) ? get_class($object) : null; 212 if (empty($class) || strcasecmp($class, $objClass) == 0) { 213 call_user_func_array($callback, array(&$notification)); 326 * @param string Notification name 327 * @param string Contained object class 328 * @return bool True if an observer was removed, false otherwise 344 if (!empty($class)) { 345 if (strcasecmp($this->_ro[$nName][$reg]['class'], $class) == 0) { 346 unset($this->_ro[$nName][$reg]); 367 * @param string Notification name 368 * @param string Contained object class 369 * @return bool True if the observer has been registered, false otherwisePEAR.php https://github.com/quarkness/piwik.git | PHP | 1063 lines
57/** 58 * Base class for other PEAR classes. Provides rudimentary 59 * emulation of destructors. 143 * 144 * @param string $error_class (optional) which class to use for 145 * error objects, defaults to PEAR_Error. 170 } else { 171 $classname = get_parent_class($classname); 172 } 188 if ($this->_debug) { 189 printf("PEAR destructor called, class=%s\n", strtolower(get_class($this))); 190 } 199 * @access public 200 * @param string $class The calling classname, to prevent clashes 201 * @param string $var The variable to retrieve.Visit.php https://github.com/quarkness/piwik.git | PHP | 1501 lines
35 */ 36class Piwik_Tracker_Visit implements Piwik_Tracker_Visit_Interface 37{ 61 62 public function __construct($forcedIpString = null, $forcedDateTime = null) 63 { 72 } 73 $ipString = $forcedIpString; 74 if(empty($ipString)) 75 { 76 $ipString = Piwik_IP::getIpFromHeader(); 77 } 78 79 $ip = Piwik_IP::P2N($ipString); 80 Piwik_PostEvent('Tracker.Visit.setVisitorIp', $ip);GoalManager.php https://github.com/quarkness/piwik.git | PHP | 835 lines
16 */ 17class Piwik_Tracker_GoalManager 18{ 50 $this->request = $request; 51 $this->orderId = Piwik_Common::getRequestVar('ec_id', false, 'string', $this->request); 52 $this->isGoalAnOrder = !empty($this->orderId); 217 218 $url = Piwik_Common::getRequestVar( 'url', '', 'string', $this->request); 219 $goal['url'] = Piwik_Tracker_Action::excludeQueryParametersFromUrl($url, $idSite); 359 { 360 $orderIdNumeric = Piwik_Common::hashStringToInt($this->orderId); 361 $goal['idgoal'] = self::IDGOAL_ORDER; 470 471 // Cast all as string, because what comes out of the fetchAll() are strings 472 $itemInDb = $this->getItemRowCast($itemInDb);Action.php https://github.com/quarkness/piwik.git | PHP | 526 lines
462 { 463 $outlinkUrl = Piwik_Common::getRequestVar( 'link', '', 'string', $this->request); 464 if(!empty($outlinkUrl)) 496 } 497 $url = self::cleanupString($url); 498 514 * 515 * @param string $string Dirty string 516 * @return string 517 */ 518 protected static function cleanupString($string) 519 { 520 $string = trim($string); 521 $string = str_replace(array("\n", "\r", "\0"), '', $string); 522Myisam.php https://github.com/quarkness/piwik.git | PHP | 569 lines
18 */ 19class Piwik_Db_Schema_Myisam implements Piwik_Db_Schema_Interface 20{ 23 * 24 * @param string $engineName 25 * @return bool True if available and enabled; false otherwise 51 * 52 * @return array of strings containing SQL 53 */ 125 idlogger_api_call INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, 126 class_name VARCHAR(255) NULL, 127 method_name VARCHAR(255) NULL, 387 * 388 * @param string $tableName 389 * @return string SQLDay.php https://github.com/quarkness/piwik.git | PHP | 877 lines
14 * Handles the archiving process for a day. 15 * The class provides generic helper methods to manipulate data from the DB, 16 * easily create Piwik_DataTable objects from running SELECT ... GROUP BY on the log_visit table. 155 * @param array $ranges The ranges to reduce data over. 156 * @param string $table The table the SELECTs should use. 157 * @param string $selectColumnPrefix The prefix when specifying what a SELECT 158 * expression will be selected AS. 159 * @param string $extraCondition An extra condition to be appended to 'case when' 160 * expressions. Must start with the logical operator, 204 * @param mixed $labelCount The label to use for the second column of the DataTable result. 205 * @param string $selectAsPrefix A string that identifies which elements of $row to use 206 * in the result. Every key of $row that starts with this 346 * 347 * @param string $label mixed Can be a string, eg. "referer_name", will be aliased as 'label' in the returned rows 348 * Can also be an array of strings, when the dimension spans multiple fields, eg. array("referer_name", "referer_keyword")Single.php https://github.com/quarkness/piwik.git | PHP | 583 lines
102 * 103 * @return string 104 */ 167 168 $periodString = $this->period->getLabel(); 169 $plugin = Piwik_ArchiveProcessing::getPluginBeingProcessed($this->getRequestedReport()); 171 $cacheKey = 'all'; 172 if($periodString == 'range') 173 { 179 $this->alreadyChecked[$cacheKey] = true; 180 $dayString = $this->period->getPrettyString(); 181 $logMessage = "Preparing archive: " . $periodString . "(" . $dayString . "), plugin $plugin "; 245 * 246 * @param string $name 247 * @param string $typeValue numeric|blobViewDataTable.php https://github.com/quarkness/piwik.git | PHP | 1158 lines
164 * 165 * @var string 166 */ 172 * 173 * @return mixed either prints the result or returns the output string 174 */ 320 * 321 * @param string $tpl eg .'MyPlugin/templates/templateToUse.tpl' 322 */ 388 // we build the request string (URL) to call the API 389 $requestString = $this->getRequestString(); 390 434 $requestString = $this->getRequestString(); 435 $request = Piwik_API_Request::getRequestArrayFromString($requestString); 436PluginsManager.php https://github.com/quarkness/piwik.git | PHP | 658 lines
33 */ 34class Piwik_PluginsManager 35{ 339 * 340 * @param string $pluginName 341 * @return Piwik_Plugin 368 369 if(!class_exists($pluginClassName, false)) 370 { 370 { 371 throw new Exception("The class $pluginClassName couldn't be found in the file '$path'"); 372 } 599 * @param string $eventName The event name 600 * @param mixed $object Object, array or string that the listeners can read and/or modify. 601 * Listeners can call $object =& $notification->getNotificationObject(); to fetch and then modify this variable.Piwik.php https://github.com/quarkness/piwik.git | PHP | 1974 lines
64 */ 65 static public function prefixClass( $class ) 66 { 66 { 67 if(!strncmp($class, Piwik::CLASSES_PREFIX, strlen(Piwik::CLASSES_PREFIX))) 68 { 76 * 77 * @param string $class 78 * @return string 79 */ 80 static public function unprefixClass( $class ) 81 { 82 $lenPrefix = strlen(Piwik::CLASSES_PREFIX); 83 if(!strncmp($class, Piwik::CLASSES_PREFIX, $lenPrefix)) 84 {DataTable.php https://github.com/quarkness/piwik.git | PHP | 1255 lines
337 * 338 * @param string $className Class name, eg. "Sort" or "Piwik_DataTable_Filter_Sort" 339 * @param array $parameters Array of parameters to the filter, eg. array('nb_visits', 'asc') 342 { 343 if(!class_exists($className, false)) 344 { 346 } 347 $reflectionObj = new ReflectionClass($className); 348 363 * 364 * @param string $className The class name of the filter, eg. Piwik_DataTable_Filter_Limit 365 * @param array $parameters The parameters to give to the filter, eg. array( $offset, $limit) for the filter Piwik_DataTable_Filter_Limit 372 } 373 $this->queuedFilters[] = array('className' => $className, 'parameters' => $parameters); 374 }Controller.php https://github.com/quarkness/piwik.git | PHP | 750 lines
13/** 14 * Parent class of all plugins Controllers (located in /plugins/PluginName/Controller.php 15 * It defines some helper functions controllers can use. 27 /** 28 * Date string 29 * 29 * 30 * @var string 31 */ 191 * @param string $reportDocumentation 192 * @param string $apiMethod The method to request the report from 193 * (by default, this is API.get but it can be changed for custom stuff) 322 $last30Relative->setDefaultEndDate(Piwik_Date::factory($endDate)); 323 $date = $last30Relative->getDateStart()->toString() . "," . $last30Relative->getDateEnd()->toString(); 324 return $date;Common.php https://github.com/quarkness/piwik.git | PHP | 1761 lines
43 * Hashes a string into an integer which should be very low collision risks 44 * @param string $string String to hash 45 * @return int Resulting int hash 46 */ 47 static public function hashStringToInt($string) 48 { 347 * @param string $parameter 348 * @return string|bool Parameter value if found (can be the empty string!), null if not found 349 */ 566 * 567 * @param string $string 568 * @param int $start 586 * 587 * @param string $string 588 * @return intArchiveProcessing.php https://github.com/quarkness/piwik.git | PHP | 1018 lines
173 * 174 * @var string 175 */ 180 * 181 * @var string 182 */ 219 * 220 * @param string $name day|week|month|year 221 * @return Piwik_ArchiveProcessing Piwik_ArchiveProcessing_Day|Piwik_ArchiveProcessing_Period 381 * 382 * @return string Datetime string, or false if must look at any archive available 383 */ 486 * @param bool $flagArchiveAsAllPlugins 487 * @return string 488 */dbbackup.class.php https://github.com/jgulledge19/DataBackup.git | PHP | 570 lines
7 * @copyright No one. You can copy, edit, do anything you want. If you change anything to better, please let me know. 8 * Based From: http://www.phpclasses.org/browse/file/33388.html 9 * 14 * The host you will connect 15 * @var String 16 */ 26 * The user you will use to connect to a database 27 * @var String 28 */ 43 * 44 * String to connect to the database using PDO 45 * @var String 70 * 71 * The result string. String with all queries 72 * @var StringParser.php https://github.com/Exercise/symfony.git | PHP | 556 lines
38 /** 39 * Parses a YAML string to a PHP value. 40 * 40 * 41 * @param string $value A YAML string 42 * 56 57 if (function_exists('mb_internal_encoding') && ((int) ini_get('mbstring.func_overload')) & 2) { 58 $mbEncoding = mb_internal_encoding(); 105 } 106 } elseif (preg_match('#^(?P<key>'.Inline::REGEX_QUOTED_STRING.'|[^ \'"\[\{].*?) *\:(\s+(?P<value>.+?))?\s*$#u', $this->currentLine, $values)) { 107 try { 266 * 267 * @return string A YAML string 268 *PhpEngine.php https://github.com/Exercise/symfony.git | PHP | 555 lines
74 * 75 * @return string The evaluated template as a string 76 * 395 /** 396 * @param string $name 397 * @param mixed $value 484 if (null === $value = preg_replace_callback('#[^\p{L}\p{N} ]#u', $callback, $value)) { 485 throw new \InvalidArgumentException('The string to escape is not a valid UTF-8 string.'); 486 } 499 * 500 * @param string $string The string to convert 501 * @param string $to The input encoding 503 * 504 * @return string The string with the new encoding 505 *Acl.php https://github.com/Exercise/symfony.git | PHP | 666 lines
26 * Each object identity has exactly one associated ACL. Each ACL can have four 27 * different types of ACEs (class ACEs, object ACEs, class field ACEs, object field 28 * ACEs). 66 $this->parentAcl = null; 67 $this->classAces = array(); 68 $this->classFieldAces = array(); 128 { 129 return isset($this->classFieldAces[$field])? $this->classFieldAces[$field] : array(); 130 } 269 $this->classAces, 270 $this->classFieldAces, 271 $this->objectAces, 426 * @param integer $index 427 * @param string $field 428 * @throws \OutOfBoundsExceptionMutableAclProvider.php https://github.com/Exercise/symfony.git | PHP | 881 lines
255 // the deletion of ACEs; these are tracked by changes to the ACL's respective 256 // properties (classAces, classFieldAces, objectAces, objectFieldAces) 257 if (isset($propertyChanges['aces'])) { 262 if (isset($propertyChanges['classAces'])) { 263 $this->updateAceProperty('classAces', $propertyChanges['classAces']); 264 $sharedPropertyChanges['classAces'] = $propertyChanges['classAces']; 281 $classAcesProperty->setAccessible(true); 282 $classFieldAcesProperty = new \ReflectionProperty('Symfony\Component\Security\Acl\Domain\Acl', 'classFieldAces'); 283 $classFieldAcesProperty->setAccessible(true); 294 if (isset($sharedPropertyChanges['classFieldAces'])) { 295 if ($acl !== $sameTypeAcl && $classFieldAcesProperty->getValue($sameTypeAcl) !== $sharedPropertyChanges['classFieldAces'][0]) { 296 throw new ConcurrentModificationException('The "classFieldAces" property has been modified concurrently.'); 298 299 $classFieldAcesProperty->setValue($sameTypeAcl, $sharedPropertyChanges['classFieldAces'][1]); 300 }AclProvider.php https://github.com/Exercise/symfony.git | PHP | 637 lines
233 {$this->options['oid_table_name']} o 234 INNER JOIN {$this->options['class_table_name']} c ON c.id = o.class_id 235 LEFT JOIN {$this->options['entry_table_name']} e ON ( 255 {$this->options['oid_table_name']} o 256 INNER JOIN {$this->options['class_table_name']} c ON c.id = o.class_id 257 INNER JOIN {$this->options['oid_ancestors_table_name']} a ON a.object_identity_id = o.id 293 {$this->options['oid_table_name']} as o 294 INNER JOIN {$this->options['class_table_name']} as c ON c.id = o.class_id 295 INNER JOIN {$this->options['oid_ancestors_table_name']} as a ON a.object_identity_id = o.id 302 FROM {$this->options['oid_table_name']} as o 303 INNER JOIN {$this->options['class_table_name']} as c ON c.id = o.class_id 304 WHERE o.parent_object_identity_id = %d 353 { 354 foreach (array('classAces', 'classFieldAces', 'objectAces', 'objectFieldAces') as $property) { 355 $reflection = new \ReflectionProperty($acl, $property);Process.php https://github.com/Exercise/symfony.git | PHP | 661 lines
21 */ 22class Process 23{ 102 * 103 * @param string $commandline The command line to run 104 * @param string $cwd The working directory 105 * @param array $env The environment variables or null to inherit 106 * @param string $stdin The STDIN content 107 * @param integer $timeout The timeout in seconds 116 if (!function_exists('proc_open')) { 117 throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.'); 118 } 380 * 381 * @return string A string representation for the exit status code 382 *StubNumberFormatter.php https://github.com/Exercise/symfony.git | PHP | 876 lines
241 * @param int $style Style of the formatting, one of the format style constants 242 * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or 243 * NumberFormat::PATTERN_RULEBASED. It must conform to the syntax 277 * @param int $style Style of the formatting, one of the format style constants 278 * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or 279 * NumberFormat::PATTERN_RULEBASED. It must conform to the syntax 283 * @see http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#_details 284 * @see http://www.icu-project.org/apiref/icu4c/classRuleBasedNumberFormat.html#_details 285 * 300 * 301 * @return string The formatted currency value 302 * 425 * 426 * @return Boolean|string The pattern string used by the formatter or false on error 427 *StubLocale.php https://github.com/Exercise/symfony.git | PHP | 493 lines
148 * 149 * @param string $locale 150 * 194 * 195 * @param string $header The string containing the "Accept-Language" header value 196 * 212 * 213 * @return string The corresponding locale code 214 * 308 * 309 * @param string $locale The locale code to return the display region from 310 * @param string $inLocale Optional format locale code to use to display the region name 325 * 326 * @param string $locale The locale code to return the display script from 327 * @param string $inLocale Optional format locale code to use to display the script nameStubIntlDateFormatter.php https://github.com/Exercise/symfony.git | PHP | 493 lines
259 * 260 * @return string The pattern string used by the formatter 261 * 313 * 314 * @param string $value String to convert to a time value 315 * @param int $position Position at which to start the parsing in $value (zero-based). 333 * 334 * @param string $value String to convert to a time value 335 * @param int $position Position at which to start the parsing in $value (zero-based). 400 * 401 * @param string $pattern A pattern string in conformance with the ICU IntlDateFormatter documentation 402 * 419 * 420 * @param string $timeZoneId The time zone ID string of the time zone to use. 421 * If NULL or the empty string, the default time zone for the