Class AdminClients
Admin Clients Management
- Controller
- 
			 AppController AppController
- 
			 AdminClients AdminClients
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/controllers/admin_clients.php
Methods summary
| 
				 public 
				
				
				 | 
			#
			 preAction( )Overwritable method called before the index method, or controller specified action. This method is public to make compatible with PHP 5.1 (due to a bug not fixed until 5.2). It is, however, not a callable action. | 
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | 
			#
			 view( string $content = null )View a specific client profile, may optionally set what content to view within the content view. | 
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | 
			#
			 quickUpdate( )AJAX quick update client to set status, invoice method, auto debit status, or auto suspension status | 
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | 
			#
			 showcard( )Renders a form to enter a passphrase for decrypting a card and returns the card on success | 
| 
				 public 
				
				
				 | 
			#
			 showaccount( )Renders a form to enter a passphrase for decrypting a bank account and routing number and returns the values on success | 
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | 
			#
			 calcLineTotals( )Sums line items and returns the sub total, total, and tax amount based on
currency and company settings for the given set of data and tax rules that apply
to each. Outputs a JSON encoded array including: | 
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | |
| 
				 public 
				
				
				 | 
Methods inherited from AppController
			__construct(), 
			adminWidgets(), 
			authorized(), 
			clientWidgets(), 
			flashMessage(), 
			getCompany(), 
			getDaysOfWeek(), 
			getMonths(), 
			getTimes(), 
			getWidgets(), 
			isAjax(), 
			isLoggedIn(), 
			isStaffAsClient(), 
			layoutSections(), 
			licenseCheck(), 
			outputAsJson(), 
			postAction(), 
			primeCompany(), 
			renderAjaxWidget(), 
			renderAjaxWidgetIfAsync(), 
			reorderWidgets(), 
			requireLogin(), 
			setDefaultView(), 
			setMaintenance(), 
			setMessage(), 
			setNav(), 
			setNavActive(), 
			setTheme(), 
			setWidgetState(), 
			toggleWidget(), 
			triggerPreAction(), 
			verifyCsrfToken()
		
Methods inherited from Controller
			clearCache(), 
			components(), 
			draw(), 
			emptyCache(), 
			helpers(), 
			partial(), 
			redirect(), 
			render(), 
			set(), 
			setDefaultViewPath(), 
			startCaching(), 
			stopCaching(), 
			uses()
		
Magic methods summary
Properties summary
Properties inherited from AppController
			$admin_uri, 
			$base_uri, 
			$base_url, 
			$client_uri, 
			$company_id, 
			$components, 
			$helpers, 
			$layout, 
			$request_uri, 
			$server_protocol
		
Properties inherited from Controller
			$action, 
			$controller, 
			$files, 
			$get, 
			$is_cli, 
			$plugin, 
			$post, 
			$structure, 
			$structure_view, 
			$uri, 
			$uri_str, 
			$uses, 
			$view