_applicationName) { $name = get_class($this); $name = preg_split('/(\\\\|_)/', $name); array_shift($name); array_pop($name); $part = array_pop($name); if ('Admin' != $part) { $name[] = $part; } $this->_applicationName = implode('-', $name); } return $this->_applicationName; } protected function _getListOptions() { $idItem = $this->getIdItem(); $id = strtolower($this->getApplicationName()) . '-list' . (($idItem) ? '-' . $idItem : ''); $options = array( 'restParams' => $this->getRestParams(), 'templatePath' => $this->_getTemplatePath(), 'primaryKey' => array_values($this->getPrimary()), 'idItem' => $idItem, 'attribs' => array('class' => 'table table-striped sc', 'id' => $id), ); return $options; } }