Beispiel #1
0
	/**
	 * Delete timeslot
	 *
	 * @param void
	 * @return null
	 */
	function delete() {
		$deleted = parent::delete();
		if($deleted) {
			$object = $this->getRelObject();
			if($object instanceof ContentDataObject) {
				$object->onDeleteTimeslot($this);
			}
		}
		return $deleted;
	}
 /**
  * Delete timeslot
  *
  * @param void
  * @return null
  */
 function delete()
 {
     $deleted = parent::delete();
     if ($deleted) {
         $object = $this->getObject();
         if ($object instanceof ProjectDataObject) {
             $object->onDeleteTimeslot($this);
         }
         // if
     }
     // if
     return $deleted;
 }