/**
     * Initialize Accessor.
     *
     * @param string     $text tag text
     * @param string     $tag  tag name
     * @param Connection $con  Sahi connection
     */
    public function __construct($text, $tag, Connection $con)
    {
        parent::__construct($con);

        $this->text = $text;
        $this->tag  = $tag;
    }
Ejemplo n.º 2
0
 /**
  * Initialize Accessor.
  *
  * @param   string      $string DOM expression
  * @param   Connection  $con    Sahi connection
  */
 public function __construct($string, Connection $con)
 {
     parent::__construct($con);
     $this->id = $string;
 }
Ejemplo n.º 3
0
 /**
  * Initialize Accessor.
  *
  * @param   string      $id     element ID
  * @param   Connection  $con    Sahi connection
  */
 public function __construct($id, Connection $con)
 {
     parent::__construct($con);
     $this->id = $id;
 }