
Public Member Functions | |
| __construct ($constraints=null, $multi=false) | |
| Constructs new CSERDreviewSubject object. | |
| getParentReview () | |
| Retrieves parent object of this object. | |
| getParentReviewMulti ($depth=1) | |
| Retrieves parent object of this object with foreign objects. | |
| getParentSubject () | |
| Retrieves parent object of this object. | |
| getParentSubjectMulti ($depth=1) | |
| Retrieves parent object of this object with foreign objects. | |
Static Public Member Functions | |
| static | exists ($constraints=array()) |
| Checks to see if object exists according to constraints. | |
| static | existsMulti ($constraints=array()) |
| Checks to see if object-set exists according to constraints. | |
| static | getAttributesStatic () |
| Retrieves attributes and information about them. | |
| static | getList ($constraints=array(), $limit=array(), $order=array(), $count=false) |
| Retrieves list of CSERDreviewSubject objects. | |
| static | getListMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) |
| Retrieves list of CSERDreviewSubject objects using joins. | |
| static | getTableNameStatic () |
| Retrieves name of table represented by this class. | |
| static | retrieve ($constraints=array(), $checkOnly=false) |
| Retrieves a single object of this type, given the constraints. | |
| static | retrieveMulti ($constraints=array(), $checkOnly=false, $depth=1) |
| Retrieves a single object of this type, given the constraints, grabbing foreign objects. | |
Static Public Attributes | |
| static | $ATTRIBUTES |
| Attributes for this entity and information about them. | |
INSERT DESCRIPTION HERE
Definition at line 12 of file CSERDreviewSubject.php5.
| CSERDreviewSubject::__construct | ( | $ | constraints = null, |
|
| $ | multi = false | |||
| ) |
Constructs new CSERDreviewSubject object.
This method will only populate the object if a constraints array is passed in, to use for selecting the information for the object from the database (see Guide to Database Constraints).
| $constraints | [array]: constraints array for populating | |
| $multi | [boolean]: if true, use joins when populating |
Definition at line 46 of file CSERDreviewSubject.php5.
References SDatabaseModel::populate(), SModel2::registerAttributes(), and SDatabaseModel::registerTableName().
| static CSERDreviewSubject::exists | ( | $ | constraints = array() |
) | [static] |
Checks to see if object exists according to constraints.
This is simply an alias for retrieve($constraints, true);
| $constraints | [array]: constraints used to check for existence of object |
Definition at line 107 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::existsMulti | ( | $ | constraints = array() |
) | [static] |
Checks to see if object-set exists according to constraints.
This is simply an alias for retrieveMulti($constraints, true);
| $constraints | [array]: constraints used to check for existence of object |
Definition at line 141 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::getAttributesStatic | ( | ) | [static] |
Retrieves attributes and information about them.
This method is needed because there is no generic way to get at the $ATTRIBUTES static member variable without this kind of method. If you do not need to generically grab the attributes of a model class, just use ModelClass::$ATTRIBUTES or $obj->getAttributes().
Definition at line 65 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::getList | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) | [static] |
Retrieves list of CSERDreviewSubject objects.
See Guide to Database Constraints for more on how to construct constraint and other arrays for this method.
| $constraints | [array]: limit results by criteria | |
| $limit | [array]: limit results by count | |
| $order | [array]: change ordering of results | |
| $count | [boolean]: if true, return the number of objects that would have been returned, rather than the objects themselves |
Definition at line 158 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::getListMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) | [static] |
Retrieves list of CSERDreviewSubject objects using joins.
See Guide to Database Constraints for more on how to construct constraint and other arrays for this method. This method differs from getList() in that it initializes the objects with joins, so that their child objects are included as well. Everything else is the same
| $constraints | [array]: limit results by criteria | |
| $limit | [array]: limit results by count | |
| $order | [array]: change ordering of results | |
| $count | [boolean]: if true, return the number of objects that would have been returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 177 of file CSERDreviewSubject.php5.
| CSERDreviewSubject::getParentReview | ( | ) |
Retrieves parent object of this object.
The parent object of a CSERDreviewSubject is a CSERDreview, related by the fact that CSERDreview's reviewId has the same value as our reviewId field.
Definition at line 216 of file CSERDreviewSubject.php5.
References CSERDreview::retrieve().
| CSERDreviewSubject::getParentReviewMulti | ( | $ | depth = 1 |
) |
Retrieves parent object of this object with foreign objects.
The parent object of a CSERDreviewSubject is a CSERDreview, related by the fact that CSERDreview's reviewId has the same value as our reviewId field.
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 229 of file CSERDreviewSubject.php5.
References CSERDreview::retrieveMulti().
| CSERDreviewSubject::getParentSubject | ( | ) |
Retrieves parent object of this object.
The parent object of a CSERDreviewSubject is a CSERDsubject, related by the fact that CSERDsubject's subjectId has the same value as our subjectId field.
Definition at line 191 of file CSERDreviewSubject.php5.
References CSERDsubject::retrieve().
| CSERDreviewSubject::getParentSubjectMulti | ( | $ | depth = 1 |
) |
Retrieves parent object of this object with foreign objects.
The parent object of a CSERDreviewSubject is a CSERDsubject, related by the fact that CSERDsubject's subjectId has the same value as our subjectId field.
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 204 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::getTableNameStatic | ( | ) | [static] |
Retrieves name of table represented by this class.
Definition at line 74 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::retrieve | ( | $ | constraints = array(), |
|
| $ | checkOnly = false | |||
| ) | [static] |
Retrieves a single object of this type, given the constraints.
Use this method instead of the constructor since the constructor cannot return error conditions properly.
| $constraints | [array]: constraints to use when retrieving object | |
| $checkOnly | [boolean]: if true, just return whether the row exists in the DB |
Definition at line 89 of file CSERDreviewSubject.php5.
| static CSERDreviewSubject::retrieveMulti | ( | $ | constraints = array(), |
|
| $ | checkOnly = false, |
|||
| $ | depth = 1 | |||
| ) | [static] |
Retrieves a single object of this type, given the constraints, grabbing foreign objects.
Use this method instead of the constructor since the constructor cannot return error conditions properly. This method uses getListMulti() instead of getList() to grab the object.
| $constraints | [array]: constraints to use when retrieving object | |
| $checkOnly | [boolean]: if true, just return whether the row exists in the DB | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 123 of file CSERDreviewSubject.php5.
1.5.6