Ejemplo n.º 1
0
 protected function _postConstruct()
 {
     parent::_postConstruct();
     // "Test_Solar_View_Helper_" = 23
     $this->_helper_name = substr(get_class($this), 23);
     $this->_helper_class = substr(get_class($this), 5);
     $this->_request = Solar_Registry::get('request');
     $this->_view = Solar::factory('Solar_View');
 }
Ejemplo n.º 2
0
 protected function _postConstruct()
 {
     parent::_postConstruct();
     $this->_support_path = Solar_Class::dir('Mock_Solar_Path_Stack');
 }
Ejemplo n.º 3
0
 /**
  * 
  * Sets $_adapter_class based on the test class name.
  * 
  * @return void
  * 
  */
 protected function _postConstruct()
 {
     parent::_postConstruct();
     // Test_Vendor_Foo => Vendor_Foo
     $this->_adapter_class = substr(get_class($this), 5);
 }
Ejemplo n.º 4
0
 public function _postConstruct()
 {
     parent::_postConstruct();
     $this->_plugin_name = substr(get_class($this), 18);
     $this->_plugin_class = substr(get_class($this), 5);
 }
Ejemplo n.º 5
0
 protected function _postConstruct()
 {
     parent::_postConstruct();
     $this->_adapter_class = substr(get_class($this), 5);
 }