Changeset 32837
- Timestamp:
- 07/27/11 11:45:23 (2 years ago)
- Files:
-
- plugins/tdCorePlugin/trunk/README (modified) (2 diffs)
- plugins/tdCorePlugin/trunk/lib/model/doctrine/PlugintdConfigTable.class.php (modified) (1 diff)
- plugins/tdCorePlugin/trunk/package.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/tdCorePlugin/trunk/README
r31052 r32837 116 116 <p id="breadcrumbs"> 117 117 You are here : 118 <?php include_component('tdBreadcrumb', ' show') ?>118 <?php include_component('tdBreadcrumb', 'display') ?> 119 119 </p> 120 120 … … 124 124 <p id="breadcrumbs"> 125 125 You are here : 126 <?php include_component('tdBreadcrumb', ' show', array(126 <?php include_component('tdBreadcrumb', 'display', array( 127 127 'root' => array('text' => 'Home', 'uri' => '@myHomepage') 128 128 )) ?> plugins/tdCorePlugin/trunk/lib/model/doctrine/PlugintdConfigTable.class.php
r30883 r32837 3 3 /** 4 4 * PlugintdConfigTable 5 * 5 * 6 6 * This class has been auto-generated by the Doctrine ORM Framework 7 7 */ 8 8 class PlugintdConfigTable extends Doctrine_Table 9 9 { 10 /** 11 * Returns an instance of this class. 12 * 13 * @return object PlugintdConfigTable 14 */ 15 public static function getInstance() 16 { 17 return Doctrine_Core::getTable('PlugintdConfig'); 18 } 10 /** 11 * Returns an instance of this class. 12 * 13 * @return object PlugintdConfigTable 14 */ 15 public static function getInstance() 16 { 17 return Doctrine_Core::getTable('PlugintdConfig'); 18 } 19 20 /** 21 * Returns a configuration value given by configuration option name. 22 * 23 * @param String $value - configuration option name. 24 * @return String - configuration option value. 25 */ 26 static public function getConfigValue($value) 27 { 28 $config = self::getInstance()->findBy('name', $value)->getFirst(); 29 return $config['value']; 30 } 19 31 } plugins/tdCorePlugin/trunk/package.xml
r31052 r32837 11 11 <active>yes</active> 12 12 </lead> 13 <date>201 0-10-05</date>14 <time>1 1:00:00</time>13 <date>2011-07-27</date> 14 <time>12:00:00</time> 15 15 <version> 16 <release>0.2. 3</release>17 <api>0.2. 3</api>16 <release>0.2.4</release> 17 <api>0.2.4</api> 18 18 </version> 19 19 <stability> … … 236 236 <release> 237 237 <version> 238 <release>0.2.4</release> 239 <api>0.2.4</api> 240 </version> 241 <stability> 242 <release>beta</release> 243 <api>beta</api> 244 </stability> 245 <license uri="http://www.symfony-project.org/license">MIT license</license> 246 <date>2011-07-27</date> 247 <license>MIT</license> 248 <notes> 249 * added tdConfigTable::getConfigValue($value) for easier config options retrieving 250 * improved docs 251 </notes> 252 </release> 253 254 <release> 255 <version> 238 256 <release>0.2.3</release> 239 257 <api>0.2.3</api>