Changeset 117 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 01/18/06 18:45:19 (6 years ago)
- Location:
- trunk/trax/vendor/trax/action_view
- Files:
-
- 7 modified
-
helpers.php (modified) (3 diffs)
-
helpers/active_record_helper.php (modified) (1 diff)
-
helpers/date_helper.php (modified) (1 diff)
-
helpers/form_helper.php (modified) (1 diff)
-
helpers/form_options_helper.php (modified) (1 diff)
-
helpers/form_tag_helper.php (modified) (1 diff)
-
helpers/url_helper.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers.php
r116 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # … … 117 116 } 118 117 118 119 ################################################################################################ 120 ## Avialble functions for use in views 121 ################################################################################################ 119 122 function content_tag() { 120 123 $helper = new Helpers(); … … 123 126 } 124 127 128 function url_for($options = array()) { 129 $helper = new Helpers(); 130 return $helper->url_for($options); 131 } 132 125 133 ?> -
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r113 r117 1 1 <?php 2 2 # $Id$ 3 # 4 # Copyright (c) 2005 John Peterson 5 # 6 # Permission is hereby granted, free of charge, to any person obtaining 7 # a copy of this software and associated documentation files (the 8 # "Software"), to deal in the Software without restriction, including 9 # without limitation the rights to use, copy, modify, merge, publish, 10 # distribute, sublicense, and/or sell copies of the Software, and to 11 # permit persons to whom the Software is furnished to do so, subject to 12 # the following conditions: 13 # 14 # The above copyright notice and this permission notice shall be 15 # included in all copies or substantial portions of the Software. 16 # 17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 21 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 3 24 4 25 class ActiveRecordHelper extends Helpers { -
trunk/trax/vendor/trax/action_view/helpers/date_helper.php
r113 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # -
trunk/trax/vendor/trax/action_view/helpers/form_helper.php
r113 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # -
trunk/trax/vendor/trax/action_view/helpers/form_options_helper.php
r116 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # -
trunk/trax/vendor/trax/action_view/helpers/form_tag_helper.php
r106 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # -
trunk/trax/vendor/trax/action_view/helpers/url_helper.php
r107 r117 1 <? 2 1 <?php 3 2 # $Id$ 4 3 # … … 140 139 } 141 140 142 function url_for($options = array()) {143 $url_helper = new UrlHelper();144 return $url_helper->url_for($options);145 }146 147 141 ?>
