Esempio 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');
 }
Esempio n. 2
0
 protected function _postConstruct()
 {
     parent::_postConstruct();
     $this->_support_path = Solar_Class::dir('Mock_Solar_Path_Stack');
 }
Esempio 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);
 }
Esempio n. 4
0
 public function _postConstruct()
 {
     parent::_postConstruct();
     $this->_plugin_name = substr(get_class($this), 18);
     $this->_plugin_class = substr(get_class($this), 5);
 }
Esempio n. 5
0
 protected function _postConstruct()
 {
     parent::_postConstruct();
     $this->_adapter_class = substr(get_class($this), 5);
 }