Kronolith_Resource_Base::getId PHP Method

getId() public method

Obtain the resource's internal identifier.
public getId ( ) : string
return string The id.
    public function getId()
    {
        return $this->_id;
    }

Usage Example

Example #1
0
 /**
  * Obtain the resource's internal identifier, taking into account whether or
  * not we have validated/selected a resource for this group yet.
  *
  * @return string The id.
  */
 public function getId()
 {
     if (!empty($this->_selectedResource)) {
         return $this->_selectedResource->getId();
     } else {
         return parent::getId();
     }
 }
All Usage Examples Of Kronolith_Resource_Base::getId