コード例 #1
0
 /**
  * Generates the accessArray for the user (for $this).
  * This function is uncached, and used as basis for user cache callback.
  *
  * @internal
  * @return array
  */
 function generateAccessArray()
 {
     $idList = $this->generateGroupIdList();
     $idList[] = $this->attribute('contentobject_id');
     return eZRole::accessArrayByUserID($idList);
 }