summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-07 07:35:15 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-07 07:35:15 -0800
commit87f00a5ec5e072f98f5ed6fcd559ef249da57b36 (patch)
treed1c6ddf82600c4d02ab9098766597d1a3cbfac33 /modules/gallery/libraries
parentc40735c922b53eb32be1ae39a030362eea52e602 (diff)
parente300ede3d8311bf236594480355f710b39aaa451 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/libraries')
-rw-r--r--modules/gallery/libraries/InPlaceEdit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gallery/libraries/InPlaceEdit.php b/modules/gallery/libraries/InPlaceEdit.php
index 057874e3..67ab3805 100644
--- a/modules/gallery/libraries/InPlaceEdit.php
+++ b/modules/gallery/libraries/InPlaceEdit.php
@@ -35,22 +35,22 @@ class InPlaceEdit_Core {
return $instance;
}
- public function add_action($action) {
+ public function action($action) {
$this->action = $action;
return $this;
}
- public function add_rules($rules) {
+ public function rules($rules) {
$this->rules += $rules;
return $this;
}
- public function add_messages($messages) {
+ public function messages($messages) {
$this->messages += $messages;
return $this;
}
- public function add_callback($callback) {
+ public function callback($callback) {
$this->callback = $callback;
return $this;
}