Beispiel #1
0
 /**
  * @param CM_Model_ActionLimit_Abstract|null $actionLimit
  */
 private function _log(CM_Model_ActionLimit_Abstract $actionLimit = null)
 {
     if ($actionLimit) {
         $this->_getTransgressions()->add($this, $actionLimit->getType());
     } else {
         $this->_getSiblings()->add($this);
     }
 }
Beispiel #2
0
 public function testGetAll()
 {
     $this->assertInstanceOf('CM_Paging_ActionLimit_All', CM_Model_ActionLimit_Abstract::getAll(1));
 }
Beispiel #3
0
 protected function _processItem($item)
 {
     return CM_Model_ActionLimit_Abstract::factory($item['type'], $item['actionType'], $item['actionVerb']);
 }