/** * Loads a row from the database and binds the fields to the object properties * * @access public * @param mixed Optional primary key. If not specifed, the value of current key is used * @return boolean True if successful */ function load($oid = null) { $return = parent::load($oid); //initializing object properties $this->markWatched(); return $return; }
/** * */ function load($id = null, $options = null) { $result = parent::load($id, $options); //initializing object properties $this->markHelpful(); return $result; }