Convert all actions to use new UI functions

I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)

There's still a lot to do, but it's a first step
This commit is contained in:
Evan Prodromou
2009-01-15 22:57:15 +00:00
parent 2b2fb27621
commit eaa81d25fa
55 changed files with 799 additions and 780 deletions

View File

@@ -34,7 +34,7 @@ class TwitapihelpAction extends TwitterapiAction
if ($apidata['content-type'] == 'xml') {
$this->init_document('xml');
common_element('ok', null, 'true');
$this->element('ok', null, 'true');
$this->end_document('xml');
} elseif ($apidata['content-type'] == 'json') {
$this->init_document('json');