public function initDbTable($table = null) {
		if (empty($table)) {
			return false;
		}

		$initModel = ClassRegistry::init(Inflector::classify($table), true);
		if ($initModel === false) {
			return false;
		}

		if (!method_exists($initModel, 'initDbTable')) {
			return false;
		}

		$ds = $initModel->getDataSource();
		if (!$ds->truncate($initModel)) {
			return false;
		}

		return $initModel->initDbTable();
	}
public function initDbTable($table = null) {
		if (empty($table)) {
			return false;
		}

		$initModel = ClassRegistry::init(Inflector::classify($table), true);
		if ($initModel === false) {
			return false;
		}

		if (!method_exists($initModel, 'initDbTable')) {
			return false;
		}

		$ds = $initModel->getDataSource();
		if (!$ds->truncate($initModel)) {
			return false;
		}

		return $initModel->initDbTable();
	}
public function initDbTable ( $ table = null ) { if ( empty ( $ table ) ) { return false ; } $ initModel = ClassRegistry :: init ( Inflector :: classify ( $ table ) , true ) ; if ( $ initModel === false ) { return false ; } if ( ! method_exists ( $ initModel , 'initDbTable' ) ) { return false ; } $ ds = $ initModel -> getDataSource ( ) ; if ( ! $ ds -> truncate ( $ initModel ) ) { return false ; } return $ initModel -> initDbTable ( ) ; }
Initialization of database table the initial values

@param string $table Database table name for initialization.
Seeking method `initDbTable()` in the appropriate model and call it.
@return bool Result of coll method `initDbTable()`
Initialization of database table the initial values