public function getMobileApps($brandId = null, $page = 1)
    {
        $params = array(
            'method' => 'sp.mobile_app.get_list',
            'page' => $page
        );

        if (strlen($brandId) > 0) {
            $params['brand_id'] = $brandId;
        }

        return $this->_makeApiRequest($params);
    }
public function getMobileApps($brandId = null, $page = 1)
    {
        $params = array(
            'method' => 'sp.mobile_app.get_list',
            'page' => $page
        );

        if (strlen($brandId) > 0) {
            $params['brand_id'] = $brandId;
        }

        return $this->_makeApiRequest($params);
    }
public function getMobileApps ( $ brandId = null , $ page = 1 ) { $ params = array ( 'method' => 'sp.mobile_app.get_list' , 'page' => $ page ) ; if ( strlen ( $ brandId ) > 0 ) { $ params [ 'brand_id' ] = $ brandId ; } return $ this -> _makeApiRequest ( $ params ) ; }
Method to return all active mobile apps for a studio or brand.

If no brand ID is provided, all mobile apps for the studio will be
returned.  If a brand ID is provided, then only mobile apps within
that brand will be returned.

@param integer $brandId Brand ID to lookup by; optional.
@param integer $page
@return array
Method to return all active mobile apps for a studio or brand .