lib-model-om
[ class tree: lib-model-om ] [ index: lib-model-om ] [ all elements ]

Source for file BaseEtvaVlan.php

Documentation is available at BaseEtvaVlan.php

  1. <?php
  2.  
  3. /**
  4.  * Base class that represents a row from the 'vlan' table.
  5.  *
  6.  * 
  7.  *
  8.  * This class was autogenerated by Propel 1.3.0-dev on:
  9.  *
  10.  * Thu Jun 18 14:28:38 2009
  11.  *
  12.  * @package    lib.model.om
  13.  */
  14. abstract class BaseEtvaVlan extends BaseObject  implements Persistent {
  15.  
  16.  
  17.   const PEER = 'EtvaVlanPeer';
  18.  
  19.     /**
  20.      * The Peer class.
  21.      * Instance provides a convenient way of calling static methods on a class
  22.      * that calling code may not be able to identify.
  23.      * @var        EtvaVlanPeer 
  24.      */
  25.     protected static $peer;
  26.  
  27.     /**
  28.      * The value for the id field.
  29.      * @var        int 
  30.      */
  31.     protected $id;
  32.  
  33.     /**
  34.      * The value for the name field.
  35.      * @var        string 
  36.      */
  37.     protected $name;
  38.  
  39.     /**
  40.      * Flag to prevent endless save loop, if this object is referenced
  41.      * by another object which falls in this transaction.
  42.      * @var        boolean 
  43.      */
  44.     protected $alreadyInSave = false;
  45.  
  46.     /**
  47.      * Flag to prevent endless validation loop, if this object is referenced
  48.      * by another object which falls in this transaction.
  49.      * @var        boolean 
  50.      */
  51.     protected $alreadyInValidation = false;
  52.  
  53.     /**
  54.      * Initializes internal state of BaseEtvaVlan object.
  55.      * @see        applyDefaults()
  56.      */
  57.     public function __construct()
  58.     {
  59.         parent::__construct();
  60.         $this->applyDefaultValues();
  61.     }
  62.  
  63.     /**
  64.      * Applies default values to this object.
  65.      * This method should be called from the object's constructor (or
  66.      * equivalent initialization method).
  67.      * @see        __construct()
  68.      */
  69.     public function applyDefaultValues()
  70.     {
  71.     }
  72.  
  73.     /**
  74.      * Get the [id] column value.
  75.      * 
  76.      * @return     int 
  77.      */
  78.     public function getId()
  79.     {
  80.         return $this->id;
  81.     }
  82.  
  83.     /**
  84.      * Get the [name] column value.
  85.      * 
  86.      * @return     string 
  87.      */
  88.     public function getName()
  89.     {
  90.         return $this->name;
  91.     }
  92.  
  93.     /**
  94.      * Set the value of [id] column.
  95.      * 
  96.      * @param      int $v new value
  97.      * @return     EtvaVlan The current object (for fluent API support)
  98.      */
  99.     public function setId($v)
  100.     {
  101.         if ($v !== null{
  102.             $v = (int) $v;
  103.         }
  104.  
  105.         if ($this->id !== $v{
  106.             $this->id = $v;
  107.             $this->modifiedColumns[EtvaVlanPeer::ID;
  108.         }
  109.  
  110.         return $this;
  111.     // setId()
  112.  
  113.     /**
  114.      * Set the value of [name] column.
  115.      * 
  116.      * @param      string $v new value
  117.      * @return     EtvaVlan The current object (for fluent API support)
  118.      */
  119.     public function setName($v)
  120.     {
  121.         if ($v !== null{
  122.             $v = (string) $v;
  123.         }
  124.  
  125.         if ($this->name !== $v{
  126.             $this->name = $v;
  127.             $this->modifiedColumns[EtvaVlanPeer::NAME;
  128.         }
  129.  
  130.         return $this;
  131.     // setName()
  132.  
  133.     /**
  134.      * Indicates whether the columns in this object are only set to default values.
  135.      *
  136.      * This method can be used in conjunction with isModified() to indicate whether an object is both
  137.      * modified _and_ has some values set which are non-default.
  138.      *
  139.      * @return     boolean Whether the columns in this object are only been set with default values.
  140.      */
  141.     public function hasOnlyDefaultValues()
  142.     {
  143.             // First, ensure that we don't have any columns that have been modified which aren't default columns.
  144.             if (array_diff($this->modifiedColumnsarray())) {
  145.                 return false;
  146.             }
  147.  
  148.         // otherwise, everything was equal, so return TRUE
  149.         return true;
  150.     // hasOnlyDefaultValues()
  151.  
  152.     /**
  153.      * Hydrates (populates) the object variables with values from the database resultset.
  154.      *
  155.      * An offset (0-based "start column") is specified so that objects can be hydrated
  156.      * with a subset of the columns in the resultset rows.  This is needed, for example,
  157.      * for results of JOIN queries where the resultset row includes columns from two or
  158.      * more tables.
  159.      *
  160.      * @param      array $row The row returned by PDOStatement->fetch(PDO::FETCH_NUM)
  161.      * @param      int $startcol 0-based offset column which indicates which restultset column to start with.
  162.      * @param      boolean $rehydrate Whether this object is being re-hydrated from the database.
  163.      * @return     int next starting column
  164.      * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  165.      */
  166.     public function hydrate($row$startcol 0$rehydrate false)
  167.     {
  168.         try {
  169.  
  170.             $this->id = ($row[$startcol 0!== null? (int) $row[$startcol 0null;
  171.             $this->name = ($row[$startcol 1!== null? (string) $row[$startcol 1null;
  172.             $this->resetModified();
  173.  
  174.             $this->setNew(false);
  175.  
  176.             if ($rehydrate{
  177.                 $this->ensureConsistency();
  178.             }
  179.  
  180.             // FIXME - using NUM_COLUMNS may be clearer.
  181.             return $startcol 2// 2 = EtvaVlanPeer::NUM_COLUMNS - EtvaVlanPeer::NUM_LAZY_LOAD_COLUMNS).
  182.  
  183.         catch (Exception $e{
  184.             throw new PropelException("Error populating EtvaVlan object"$e);
  185.         }
  186.     }
  187.  
  188.     /**
  189.      * Checks and repairs the internal consistency of the object.
  190.      *
  191.      * This method is executed after an already-instantiated object is re-hydrated
  192.      * from the database.  It exists to check any foreign keys to make sure that
  193.      * the objects related to the current object are correct based on foreign key.
  194.      *
  195.      * You can override this method in the stub class, but you should always invoke
  196.      * the base method from the overridden method (i.e. parent::ensureConsistency()),
  197.      * in case your model changes.
  198.      *
  199.      * @throws     PropelException
  200.      */
  201.     public function ensureConsistency()
  202.     {
  203.  
  204.     // ensureConsistency
  205.  
  206.     /**
  207.      * Reloads this object from datastore based on primary key and (optionally) resets all associated objects.
  208.      *
  209.      * This will only work if the object has been saved and has a valid primary key set.
  210.      *
  211.      * @param      boolean $deep (optional) Whether to also de-associated any related objects.
  212.      * @param      PropelPDO $con (optional) The PropelPDO connection to use.
  213.      * @return     void 
  214.      * @throws     PropelException - if this object is deleted, unsaved or doesn't have pk match in db
  215.      */
  216.     public function reload($deep falsePropelPDO $con null)
  217.     {
  218.         if ($this->isDeleted()) {
  219.             throw new PropelException("Cannot reload a deleted object.");
  220.         }
  221.  
  222.         if ($this->isNew()) {
  223.             throw new PropelException("Cannot reload an unsaved object.");
  224.         }
  225.  
  226.         if ($con === null{
  227.             $con Propel::getConnection(EtvaVlanPeer::DATABASE_NAMEPropel::CONNECTION_READ);
  228.         }
  229.  
  230.         // We don't need to alter the object instance pool; we're just modifying this instance
  231.         // already in the pool.
  232.  
  233.         $stmt EtvaVlanPeer::doSelectStmt($this->buildPkeyCriteria()$con);
  234.         $row $stmt->fetch(PDO::FETCH_NUM);
  235.         $stmt->closeCursor();
  236.         if (!$row{
  237.             throw new PropelException('Cannot find matching row in the database to reload object values.');
  238.         }
  239.         $this->hydrate($row0true)// rehydrate
  240.  
  241.         if ($deep{  // also de-associate any related objects?
  242.  
  243.         // if (deep)
  244.     }
  245.  
  246.     /**
  247.      * Removes this object from datastore and sets delete attribute.
  248.      *
  249.      * @param      PropelPDO $con 
  250.      * @return     void 
  251.      * @throws     PropelException
  252.      * @see        BaseObject::setDeleted()
  253.      * @see        BaseObject::isDeleted()
  254.      */
  255.     public function delete(PropelPDO $con null)
  256.     {
  257.  
  258.     foreach (sfMixer::getCallables('BaseEtvaVlan:delete:pre'as $callable)
  259.     {
  260.       $ret call_user_func($callable$this$con);
  261.       if ($ret)
  262.       {
  263.         return;
  264.       }
  265.     }
  266.  
  267.  
  268.         if ($this->isDeleted()) {
  269.             throw new PropelException("This object has already been deleted.");
  270.         }
  271.  
  272.         if ($con === null{
  273.             $con Propel::getConnection(EtvaVlanPeer::DATABASE_NAMEPropel::CONNECTION_WRITE);
  274.         }
  275.         
  276.         $con->beginTransaction();
  277.         try {
  278.             EtvaVlanPeer::doDelete($this$con);
  279.             $this->setDeleted(true);
  280.             $con->commit();
  281.         catch (PropelException $e{
  282.             $con->rollBack();
  283.             throw $e;
  284.         }
  285.     
  286.  
  287.     foreach (sfMixer::getCallables('BaseEtvaVlan:delete:post'as $callable)
  288.     {
  289.       call_user_func($callable$this$con);
  290.     }
  291.  
  292.   }
  293.     /**
  294.      * Persists this object to the database.
  295.      *
  296.      * If the object is new, it inserts it; otherwise an update is performed.
  297.      * All modified related objects will also be persisted in the doSave()
  298.      * method.  This method wraps all precipitate database operations in a
  299.      * single transaction.
  300.      *
  301.      * @param      PropelPDO $con 
  302.      * @return     int The number of rows affected by this insert/update and any referring fk objects' save() operations.
  303.      * @throws     PropelException
  304.      * @see        doSave()
  305.      */
  306.     public function save(PropelPDO $con null)
  307.     {
  308.  
  309.     foreach (sfMixer::getCallables('BaseEtvaVlan:save:pre'as $callable)
  310.     {
  311.       $affectedRows call_user_func($callable$this$con);
  312.       if (is_int($affectedRows))
  313.       {
  314.         return $affectedRows;
  315.       }
  316.     }
  317.  
  318.  
  319.         if ($this->isDeleted()) {
  320.             throw new PropelException("You cannot save an object that has been deleted.");
  321.         }
  322.  
  323.         if ($con === null{
  324.             $con Propel::getConnection(EtvaVlanPeer::DATABASE_NAMEPropel::CONNECTION_WRITE);
  325.         }
  326.         
  327.         $con->beginTransaction();
  328.         try {
  329.             $affectedRows $this->doSave($con);
  330.             $con->commit();
  331.     foreach (sfMixer::getCallables('BaseEtvaVlan:save:post'as $callable)
  332.     {
  333.       call_user_func($callable$this$con$affectedRows);
  334.     }
  335.  
  336.             EtvaVlanPeer::addInstanceToPool($this);
  337.             return $affectedRows;
  338.         catch (PropelException $e{
  339.             $con->rollBack();
  340.             throw $e;
  341.         }
  342.     }
  343.  
  344.     /**
  345.      * Performs the work of inserting or updating the row in the database.
  346.      *
  347.      * If the object is new, it inserts it; otherwise an update is performed.
  348.      * All related objects are also updated in this method.
  349.      *
  350.      * @param      PropelPDO $con 
  351.      * @return     int The number of rows affected by this insert/update and any referring fk objects' save() operations.
  352.      * @throws     PropelException
  353.      * @see        save()
  354.      */
  355.     protected function doSave(PropelPDO $con)
  356.     {
  357.         $affectedRows 0// initialize var to track total num of affected rows
  358.         if (!$this->alreadyInSave{
  359.             $this->alreadyInSave = true;
  360.  
  361.             if ($this->isNew() ) {
  362.                 $this->modifiedColumns[EtvaVlanPeer::ID;
  363.             }
  364.  
  365.             // If this object has been modified, then save it to the database.
  366.             if ($this->isModified()) {
  367.                 if ($this->isNew()) {
  368.                     $pk EtvaVlanPeer::doInsert($this$con);
  369.                     $affectedRows += 1// we are assuming that there is only 1 row per doInsert() which
  370.                                          // should always be true here (even though technically
  371.                                          // BasePeer::doInsert() can insert multiple rows).
  372.  
  373.                     $this->setId($pk);  //[IMV] update autoincrement primary key
  374.  
  375.                     $this->setNew(false);
  376.                 else {
  377.                     $affectedRows += EtvaVlanPeer::doUpdate($this$con);
  378.                 }
  379.  
  380.                 $this->resetModified()// [HL] After being saved an object is no longer 'modified'
  381.             }
  382.  
  383.             $this->alreadyInSave = false;
  384.  
  385.         }
  386.         return $affectedRows;
  387.     // doSave()
  388.  
  389.     /**
  390.      * Array of ValidationFailed objects.
  391.      * @var        array ValidationFailed[]
  392.      */
  393.     protected $validationFailures = array();
  394.  
  395.     /**
  396.      * Gets any ValidationFailed objects that resulted from last call to validate().
  397.      *
  398.      *
  399.      * @return     array ValidationFailed[]
  400.      * @see        validate()
  401.      */
  402.     public function getValidationFailures()
  403.     {
  404.         return $this->validationFailures;
  405.     }
  406.  
  407.     /**
  408.      * Validates the objects modified field values and all objects related to this table.
  409.      *
  410.      * If $columns is either a column name or an array of column names
  411.      * only those columns are validated.
  412.      *
  413.      * @param      mixed $columns Column name or an array of column names.
  414.      * @return     boolean Whether all columns pass validation.
  415.      * @see        doValidate()
  416.      * @see        getValidationFailures()
  417.      */
  418.     public function validate($columns null)
  419.     {
  420.         $res $this->doValidate($columns);
  421.         if ($res === true{
  422.             $this->validationFailures = array();
  423.             return true;
  424.         else {
  425.             $this->validationFailures = $res;
  426.             return false;
  427.         }
  428.     }
  429.  
  430.     /**
  431.      * This function performs the validation work for complex object models.
  432.      *
  433.      * In addition to checking the current object, all related objects will
  434.      * also be validated.  If all pass then <code>true</code> is returned; otherwise
  435.      * an aggreagated array of ValidationFailed objects will be returned.
  436.      *
  437.      * @param      array $columns Array of column names to validate.
  438.      * @return     mixed <code>true</code> if all validations pass; array of <code>ValidationFailed</code> objets otherwise.
  439.      */
  440.     protected function doValidate($columns null)
  441.     {
  442.         if (!$this->alreadyInValidation{
  443.             $this->alreadyInValidation = true;
  444.             $retval null;
  445.  
  446.             $failureMap array();
  447.  
  448.  
  449.             if (($retval EtvaVlanPeer::doValidate($this$columns)) !== true{
  450.                 $failureMap array_merge($failureMap$retval);
  451.             }
  452.  
  453.  
  454.  
  455.             $this->alreadyInValidation = false;
  456.         }
  457.  
  458.         return (!empty($failureMap$failureMap true);
  459.     }
  460.  
  461.     /**
  462.      * Retrieves a field from the object by name passed in as a string.
  463.      *
  464.      * @param      string $name name
  465.      * @param      string $type The type of fieldname the $name is of:
  466.      *                      one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
  467.      *                      BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM
  468.      * @return     mixed Value of field.
  469.      */
  470.     public function getByName($name$type BasePeer::TYPE_PHPNAME)
  471.     {
  472.         $pos EtvaVlanPeer::translateFieldName($name$typeBasePeer::TYPE_NUM);
  473.         $field $this->getByPosition($pos);
  474.         return $field;
  475.     }
  476.  
  477.     /**
  478.      * Retrieves a field from the object by Position as specified in the xml schema.
  479.      * Zero-based.
  480.      *
  481.      * @param      int $pos position in xml schema
  482.      * @return     mixed Value of field at $pos
  483.      */
  484.     public function getByPosition($pos)
  485.     {
  486.         switch($pos{
  487.             case 0:
  488.                 return $this->getId();
  489.                 break;
  490.             case 1:
  491.                 return $this->getName();
  492.                 break;
  493.             default:
  494.                 return null;
  495.                 break;
  496.         // switch()
  497.     }
  498.  
  499.     /**
  500.      * Exports the object as an array.
  501.      *
  502.      * You can specify the key type of the array by passing one of the class
  503.      * type constants.
  504.      *
  505.      * @param      string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
  506.      *                         BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME.
  507.      * @param      boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns.  Defaults to TRUE.
  508.      * @return     an associative array containing the field names (as keys) and field values
  509.      */
  510.     public function toArray($keyType BasePeer::TYPE_PHPNAME$includeLazyLoadColumns true)
  511.     {
  512.         $keys EtvaVlanPeer::getFieldNames($keyType);
  513.         $result array(
  514.             $keys[0=> $this->getId(),
  515.             $keys[1=> $this->getName(),
  516.         );
  517.         return $result;
  518.     }
  519.  
  520.     /**
  521.      * Sets a field from the object by name passed in as a string.
  522.      *
  523.      * @param      string $name peer name
  524.      * @param      mixed $value field value
  525.      * @param      string $type The type of fieldname the $name is of:
  526.      *                      one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
  527.      *                      BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM
  528.      * @return     void 
  529.      */
  530.     public function setByName($name$value$type BasePeer::TYPE_PHPNAME)
  531.     {
  532.         $pos EtvaVlanPeer::translateFieldName($name$typeBasePeer::TYPE_NUM);
  533.         return $this->setByPosition($pos$value);
  534.     }
  535.  
  536.     /**
  537.      * Sets a field from the object by Position as specified in the xml schema.
  538.      * Zero-based.
  539.      *
  540.      * @param      int $pos position in xml schema
  541.      * @param      mixed $value field value
  542.      * @return     void 
  543.      */
  544.     public function setByPosition($pos$value)
  545.     {
  546.         switch($pos{
  547.             case 0:
  548.                 $this->setId($value);
  549.                 break;
  550.             case 1:
  551.                 $this->setName($value);
  552.                 break;
  553.         // switch()
  554.     }
  555.  
  556.     /**
  557.      * Populates the object using an array.
  558.      *
  559.      * This is particularly useful when populating an object from one of the
  560.      * request arrays (e.g. $_POST).  This method goes through the column
  561.      * names, checking to see whether a matching key exists in populated
  562.      * array. If so the setByName() method is called for that column.
  563.      *
  564.      * You can specify the key type of the array by additionally passing one
  565.      * of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
  566.      * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
  567.      * The default key type is the column's phpname (e.g. 'AuthorId')
  568.      *
  569.      * @param      array  $arr     An array to populate the object from.
  570.      * @param      string $keyType The type of keys the array uses.
  571.      * @return     void 
  572.      */
  573.     public function fromArray($arr$keyType BasePeer::TYPE_PHPNAME)
  574.     {
  575.         $keys EtvaVlanPeer::getFieldNames($keyType);
  576.  
  577.         if (array_key_exists($keys[0]$arr)) $this->setId($arr[$keys[0]]);
  578.         if (array_key_exists($keys[1]$arr)) $this->setName($arr[$keys[1]]);
  579.     }
  580.  
  581.     /**
  582.      * Build a Criteria object containing the values of all modified columns in this object.
  583.      *
  584.      * @return     Criteria The Criteria object containing all modified values.
  585.      */
  586.     public function buildCriteria()
  587.     {
  588.         $criteria new Criteria(EtvaVlanPeer::DATABASE_NAME);
  589.  
  590.         if ($this->isColumnModified(EtvaVlanPeer::ID)) $criteria->add(EtvaVlanPeer::ID$this->id);
  591.         if ($this->isColumnModified(EtvaVlanPeer::NAME)) $criteria->add(EtvaVlanPeer::NAME$this->name);
  592.  
  593.         return $criteria;
  594.     }
  595.  
  596.     /**
  597.      * Builds a Criteria object containing the primary key for this object.
  598.      *
  599.      * Unlike buildCriteria() this method includes the primary key values regardless
  600.      * of whether or not they have been modified.
  601.      *
  602.      * @return     Criteria The Criteria object containing value(s) for primary key(s).
  603.      */
  604.     public function buildPkeyCriteria()
  605.     {
  606.         $criteria new Criteria(EtvaVlanPeer::DATABASE_NAME);
  607.  
  608.         $criteria->add(EtvaVlanPeer::ID$this->id);
  609.  
  610.         return $criteria;
  611.     }
  612.  
  613.     /**
  614.      * Returns the primary key for this object (row).
  615.      * @return     int 
  616.      */
  617.     public function getPrimaryKey()
  618.     {
  619.         return $this->getId();
  620.     }
  621.  
  622.     /**
  623.      * Generic method to set the primary key (id column).
  624.      *
  625.      * @param      int $key Primary key.
  626.      * @return     void 
  627.      */
  628.     public function setPrimaryKey($key)
  629.     {
  630.         $this->setId($key);
  631.     }
  632.  
  633.     /**
  634.      * Sets contents of passed object to values from current object.
  635.      *
  636.      * If desired, this method can also make copies of all associated (fkey referrers)
  637.      * objects.
  638.      *
  639.      * @param      object $copyObj An object of EtvaVlan (or compatible) type.
  640.      * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  641.      * @throws     PropelException
  642.      */
  643.     public function copyInto($copyObj$deepCopy false)
  644.     {
  645.  
  646.         $copyObj->setName($this->name);
  647.  
  648.  
  649.         $copyObj->setNew(true);
  650.  
  651.         $copyObj->setId(NULL)// this is a auto-increment column, so set to default value
  652.  
  653.     }
  654.  
  655.     /**
  656.      * Makes a copy of this object that will be inserted as a new row in table when saved.
  657.      * It creates a new object filling in the simple attributes, but skipping any primary
  658.      * keys that are defined for the table.
  659.      *
  660.      * If desired, this method can also make copies of all associated (fkey referrers)
  661.      * objects.
  662.      *
  663.      * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  664.      * @return     EtvaVlan Clone of current object.
  665.      * @throws     PropelException
  666.      */
  667.     public function copy($deepCopy false)
  668.     {
  669.         // we use get_class(), because this might be a subclass
  670.         $clazz get_class($this);
  671.         $copyObj new $clazz();
  672.         $this->copyInto($copyObj$deepCopy);
  673.         return $copyObj;
  674.     }
  675.  
  676.     /**
  677.      * Returns a peer instance associated with this om.
  678.      *
  679.      * Since Peer classes are not to have any instance attributes, this method returns the
  680.      * same instance for all member of this class. The method could therefore
  681.      * be static, but this would prevent one from overriding the behavior.
  682.      *
  683.      * @return     EtvaVlanPeer 
  684.      */
  685.     public function getPeer()
  686.     {
  687.         if (self::$peer === null{
  688.             self::$peer new EtvaVlanPeer();
  689.         }
  690.         return self::$peer;
  691.     }
  692.  
  693.     /**
  694.      * Resets all collections of referencing foreign keys.
  695.      *
  696.      * This method is a user-space workaround for PHP's inability to garbage collect objects
  697.      * with circular references.  This is currently necessary when using Propel in certain
  698.      * daemon or large-volumne/high-memory operations.
  699.      *
  700.      * @param      boolean $deep Whether to also clear the references on all associated objects.
  701.      */
  702.     public function clearAllReferences($deep false)
  703.     {
  704.         if ($deep{
  705.         // if ($deep)
  706.  
  707.     }
  708.  
  709.  
  710.   public function __call($method$arguments)
  711.   {
  712.     if (!$callable sfMixer::getCallable('BaseEtvaVlan:'.$method))
  713.     {
  714.       throw new sfException(sprintf('Call to undefined method BaseEtvaVlan::%s'$method));
  715.     }
  716.  
  717.     array_unshift($arguments$this);
  718.  
  719.     return call_user_func_array($callable$arguments);
  720.   }
  721.  
  722.  
  723. // BaseEtvaVlan

Documentation generated on Fri, 19 Jun 2009 10:48:11 +0100 by phpDocumentor 1.4.2