public function __construct(array $options) { if (!empty($options['is_acl'])) { $options['route_class'] = 'opDynamicAclRoute'; } parent::__construct($options); }
public function __construct(array $options) { $options = array_merge(array( 'segment_names' => array('edit' => 'edit', 'new' => 'new', 'create' => 'new', 'update' => 'edit'), 'with_export' => true, ), $options); parent::__construct($options); }