示例#1
0
 /**
  * Set the allowedAll flag for the current entity
  *
  * @param string $allowedall allowedAll flag, 'yes'/'no'
  *
  * @return bool True if the allowAll flag was changed. Othervise false. 
  * @since      Method available since Release 1.0.0
  */
 public function setAllowedAll($allowedall)
 {
     $return = $this->_entity->setAllowedAll($allowedall);
     // If $return = true, it means it changed.
     if ($return) {
         $this->_modified = true;
     }
     if ($allowedall === 'yes') {
         $this->_blocked = array();
         $this->_allowed = array();
     }
     return $return;
 }