/** * @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); } }
public function testGetAll() { $this->assertInstanceOf('CM_Paging_ActionLimit_All', CM_Model_ActionLimit_Abstract::getAll(1)); }
protected function _processItem($item) { return CM_Model_ActionLimit_Abstract::factory($item['type'], $item['actionType'], $item['actionVerb']); }