diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-22 17:01:17 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-22 17:01:17 +0000 |
commit | 965cbe52f22809f19ca150feb585b0218aa89f85 (patch) | |
tree | fc1b59b44c5ecbaedf27cc8c71e7abc80a15305e /engine/classes/QueryComponent.php | |
parent | 56b3e3dcd833a8a9124581b536c69806962b9640 (diff) | |
download | elgg-965cbe52f22809f19ca150feb585b0218aa89f85.tar.gz elgg-965cbe52f22809f19ca150feb585b0218aa89f85.tar.bz2 |
Converted line endings to unix.
git-svn-id: http://code.elgg.org/elgg/trunk@6957 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/QueryComponent.php')
-rw-r--r-- | engine/classes/QueryComponent.php | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/engine/classes/QueryComponent.php b/engine/classes/QueryComponent.php index cfe7683b1..148d07a2c 100644 --- a/engine/classes/QueryComponent.php +++ b/engine/classes/QueryComponent.php @@ -1,42 +1,42 @@ -<?php
-/**
- * @class QueryComponent Query component superclass.
- * Component of a query.
- * @author Curverider Ltd
- * @see Query
- */
-abstract class QueryComponent
-{
- /**
- * Associative array of fields and values
- */
- private $fields;
-
- function __construct()
- {
- $this->fields = array();
- }
-
- /**
- * Class member get overloading
- *
- * @param string $name
- * @return mixed
- */
- function __get($name) {
- return $this->fields[$name];
- }
-
- /**
- * Class member set overloading
- *
- * @param string $name
- * @param mixed $value
- * @return void
- */
- function __set($name, $value) {
- $this->fields[$name] = $value;
-
- return true;
- }
-}
+<?php +/** + * @class QueryComponent Query component superclass. + * Component of a query. + * @author Curverider Ltd + * @see Query + */ +abstract class QueryComponent +{ + /** + * Associative array of fields and values + */ + private $fields; + + function __construct() + { + $this->fields = array(); + } + + /** + * Class member get overloading + * + * @param string $name + * @return mixed + */ + function __get($name) { + return $this->fields[$name]; + } + + /** + * Class member set overloading + * + * @param string $name + * @param mixed $value + * @return void + */ + function __set($name, $value) { + $this->fields[$name] = $value; + + return true; + } +} |