Пример #1
0
	/**
	 * Create the table for this plugin if it does not yet exist.
	 * This functions checks if the called plugin is active one.
	 * When yes it is calling the standard method to create the tables
	 *
	 * @author Valérie Isaksen
	 *
	 */
	public function onStoreInstallPluginTable ($jplugin_id, $name = FALSE) {

		if ($res = $this->selectedThisByJPluginId ($jplugin_id)) {
			parent::onStoreInstallPluginTable ($this->_psType);
		}
		return $res;
	}
Пример #2
0
 /**
  * Create the table for this plugin if it does not yet exist.
  * This functions checks if the called plugin is active one.
  * When yes it is calling the standard method to create the tables
  *
  * @author Valérie Isaksen
  *
  */
 public function onStoreInstallPluginTable($jplugin_id, $name = FALSE)
 {
     if ($res = $this->selectedThisByJPluginId($jplugin_id)) {
         vmdebug('onStoreInstallPluginTable, going to execute onStoreInstallPluginTable');
         parent::onStoreInstallPluginTable($this->_psType);
     }
     return $res;
 }