public function getClientDetails($clientId)
	{
		// create model
		$application = \Components\Developer\Models\Application::oneByClientid($clientId);

		// load application by client id
		if (!$application->get('id'))
		{
			return false;
		}

		// make sure its published
		if (!$application->isPublished())
		{
			return false;
		}

		// return as array
		return $application->toArray();
	}
public function getClientDetails($clientId)
	{
		// create model
		$application = \Components\Developer\Models\Application::oneByClientid($clientId);

		// load application by client id
		if (!$application->get('id'))
		{
			return false;
		}

		// make sure its published
		if (!$application->isPublished())
		{
			return false;
		}

		// return as array
		return $application->toArray();
	}
public function getClientDetails ( $ clientId ) { // create model $ application = \ Components \ Developer \ Models \ Application :: oneByClientid ( $ clientId ) ; // load application by client id if ( ! $ application -> get ( 'id' ) ) { return false ; } // make sure its published if ( ! $ application -> isPublished ( ) ) { return false ; } // return as array return $ application -> toArray ( ) ; }
Get client details by client id

@param   string  $client_id  Load client details via client id.
@return  void
Get client details by client id