Exemple #1
0
 public function GroupContainer(ContactContainerWithSingleGroup $contactContainer = null)
 {
     BaseContainer::BaseContainer();
     if (null !== $contactContainer) {
         $this->MassSetValue($contactContainer->GetContainer());
     }
 }
 function getEntity($id = "")
 {
     if (empty($id)) {
         $qry = "select * from COMPANY, CONTACT";
         return $this->getEmptyEnt($qry);
     }
     $qry = "select * from COMPANY cont where COMPANY_ID='{$id}'";
     return BaseContainer::getEntity($qry);
 }
Exemple #3
0
 function getEntity($id = "")
 {
     if (empty($id)) {
         $qry = "select * from GROUPE";
         return $this->getEmptyEnt($qry);
     }
     $qry = "select * from GROUPE where GROUPE_DELETED='0'and GROUPE_NAME='{$id}'";
     return BaseContainer::getEntity($qry);
 }
Exemple #4
0
 function loginUser($userName, $isAdmin = false)
 {
     if ($isAdmin) {
         $qry = "select * from USER where USER_LOGIN_NAME='{$userName}' and GROUPE_NAME='admin' and USER_DELETED='0'";
     } else {
         $qry = "select * from USER where USER_LOGIN_NAME='{$userName}' and USER_DELETED='0'";
     }
     return BaseContainer::getEntity($qry);
 }
Exemple #5
0
 function getDefaultCss($css_name)
 {
     $qry = "select * from LAYOUT inner join CSS using(CSS_NAME) where CSS.CSS_NAME='{$css_name}'";
     return BaseContainer::getEntity($qry);
 }
Exemple #6
0
 function deleteEntity($id)
 {
     return BaseContainer::deleteEntity('LOG', 'LOG_ID', $id, true);
 }
Exemple #7
0
 function trashItemEntity($pkeyVal)
 {
     $qry = "update ITEM set ITEM_DELETED='1' where ITEM_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }
Exemple #8
0
 function trashEntity($pkeyVal)
 {
     $qry = "update PAGE set PAGE_DELETED='1' where PAGE_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }
 public function FunambolContactContainer()
 {
     BaseContainer::BaseContainer();
 }
 /**
  * @access protected
  * @param string $key
  * @param string $fieldName
  */
 protected function _setValueToBuffer($fieldName, $fieldVame)
 {
     if ($this->_currentContainer->isValueSet($key)) {
         $this->_buffer[] = $fieldName . ' = ' . $fieldVame;
     }
 }
Exemple #11
0
 function trashEntity($pkeyVal)
 {
     $qry = "update USER set USER_DELETED='1' where USER_LOGIN_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }