Hoa central
Delete.php
Go to the documentation of this file.
1 <?php
2 
38 
47 class Delete extends Where implements Dml
48 {
54  protected $_from = null;
55 
56 
57 
64  public function from($source)
65  {
66  $this->_from = $source;
67 
68  return $this;
69  }
70 
76  public function __toString()
77  {
78  return 'DELETE FROM ' . $this->_from . parent::__toString();
79  }
80 }