Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Prefixing ActiveRecordInstanceTag with Ak
Browse files Browse the repository at this point in the history
  • Loading branch information
bermi committed Jun 18, 2011
1 parent f0aea11 commit 85f664f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action_pack/helpers/ak_active_record_helper.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AkActiveRecordHelper extends AkBaseHelper
* <input id="post_title" name="post[title]" size="30" type="text" value="Hello World" /> * <input id="post_title" name="post[title]" size="30" type="text" value="Hello World" />
*/ */
public function input($record_name, $method, $options = array()) { public function input($record_name, $method, $options = array()) {
$InstanceTag = new ActiveRecordInstanceTag($record_name, $method, $this); $InstanceTag = new AkActiveRecordInstanceTag($record_name, $method, $this);
return $InstanceTag->to_tag($options); return $InstanceTag->to_tag($options);
} }


Expand Down Expand Up @@ -156,7 +156,7 @@ public function default_input_block() {
} }
} }


class ActiveRecordInstanceTag extends AkFormHelperInstanceTag class AkActiveRecordInstanceTag extends AkFormHelperInstanceTag
{ {
public $method_name; public $method_name;


Expand Down

0 comments on commit 85f664f

Please sign in to comment.