[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/alfresco/Service/ -> Association.php (source)

   1  <?php
   2  
   3  /*

   4   * Copyright (C) 2005-2010 Alfresco Software Limited.

   5   *

   6   * This file is part of Alfresco

   7   *

   8   * Alfresco is free software: you can redistribute it and/or modify

   9   * it under the terms of the GNU Lesser General Public License as published by

  10   * the Free Software Foundation, either version 3 of the License, or

  11   * (at your option) any later version.

  12   *

  13   * Alfresco is distributed in the hope that it will be useful,

  14   * but WITHOUT ANY WARRANTY; without even the implied warranty of

  15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

  16   * GNU Lesser General Public License for more details.

  17   *

  18   * You should have received a copy of the GNU Lesser General Public License

  19   * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.

  20   */
  21  
  22  class Association extends BaseObject
  23  {
  24      private $_from;
  25      private $_to;
  26      private $_type;
  27      
  28  	public function __construct($from, $to, $type)
  29      {
  30          $this->_from = $from;
  31          $this->_to = $to;
  32          $this->_type = $type;    
  33      }
  34      
  35  	public function getFrom()
  36      {
  37          return $this->_from;
  38      }
  39      
  40  	public function getTo()
  41      {
  42          return $this->_to;
  43      }
  44      
  45  	public function getType()
  46      {
  47          return $this->_type;
  48      }
  49  }
  50  
  51  ?>


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1