Cleanup namepaces, variables uses

This commit is contained in:
Romain Neutron
2012-09-28 16:06:28 +02:00
parent 372861deb4
commit 1700565862
232 changed files with 593 additions and 1446 deletions

View File

@@ -504,12 +504,6 @@ class Bridge_Api
return new $classname($registry, $auth);
}
/**
*
* @param appbox $appbox
* @param string $name
* @return Bridge_Api
*/
public static function get_by_api_name(Application $app, $name)
{
$name = strtolower($name);
@@ -552,12 +546,6 @@ class Bridge_Api
return $results;
}
/**
*
* @param appbox $appbox
* @param string $name
* @return Bridge_Api
*/
public static function create(Application $app, $name)
{
$sql = 'INSERT INTO bridge_apis

View File

@@ -109,13 +109,6 @@ class Bridge_Element
const STATUS_PENDING = 'pending';
const STATUS_ERROR = 'error';
/**
*
* @param appbox $appbox
* @param Bridge_Account $account
* @param int $id
* @return Bridge_Element
*/
public function __construct(Application $app, Bridge_Account $account, $id)
{
$this->app = $app;
@@ -446,13 +439,6 @@ class Bridge_Element
return;
}
/**
*
* @param appbox $appbox
* @param Bridge_Account $account
* @param int $quantity
* @return Bridge_Element
*/
public static function get_elements_by_account(Application $app, Bridge_Account $account, $offset_start = 0, $quantity = 50)
{
$sql = 'SELECT id FROM bridge_elements WHERE account_id = :account_id
@@ -473,17 +459,6 @@ class Bridge_Element
return $results;
}
/**
*
* @param appbox $appbox
* @param Bridge_Account $account
* @param record_adapter $record
* @param string $title
* @param string $status
* @param string $type
* @param array $datas
* @return Bridge_Element
*/
public static function create(Application $app, Bridge_Account $account, record_adapter $record, $title, $status, $type, Array $datas = array())
{
$sql = 'INSERT INTO bridge_elements