| @@ 115-124 (lines=10) @@ | ||
| 112 | /** |
|
| 113 | * @return string $filePath |
|
| 114 | */ |
|
| 115 | protected function getXmlPath() |
|
| 116 | {
|
|
| 117 | if( !isset($this->filePath) ) |
|
| 118 | {
|
|
| 119 | $class = str_replace('DataProvider', '', $this->dataProviderClass);
|
|
| 120 | $this->filePath = 'f/xml/'.lcfirst($class).'.xml'; |
|
| 121 | } |
|
| 122 | ||
| 123 | return $this->filePath; |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * Следить за буфером, при необходимост и обнулить |
|
| @@ 122-131 (lines=10) @@ | ||
| 119 | /** |
|
| 120 | * @return string $filePath |
|
| 121 | */ |
|
| 122 | private function getXmlPath() |
|
| 123 | {
|
|
| 124 | if( !isset($this->filePath) ) |
|
| 125 | {
|
|
| 126 | $class = str_replace('DataProvider', '', $this->dataProviderClass);
|
|
| 127 | $this->filePath = 'f/xml/'.lcfirst($class).'.xml'; |
|
| 128 | } |
|
| 129 | ||
| 130 | return $this->filePath; |
|
| 131 | } |
|
| 132 | } |
|