本文整理匯總了PHP中Solar_Test::_postConstruct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Solar_Test::_postConstruct方法的具體用法?PHP Solar_Test::_postConstruct怎麽用?PHP Solar_Test::_postConstruct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Solar_Test
的用法示例。
在下文中一共展示了Solar_Test::_postConstruct方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _postConstruct
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');
}
示例2: _postConstruct
protected function _postConstruct()
{
parent::_postConstruct();
$this->_support_path = Solar_Class::dir('Mock_Solar_Path_Stack');
}
示例3: _postConstruct
/**
*
* 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);
}
示例4: _postConstruct
public function _postConstruct()
{
parent::_postConstruct();
$this->_plugin_name = substr(get_class($this), 18);
$this->_plugin_class = substr(get_class($this), 5);
}