abstract class \mpf\datasources\BaseModel

abstract class \mpf\datasources\BaseModel

-no description found-

No attributes found for this class!

public abstract mixed save ()

Saves updates for current model

public abstract mixed saveAsNew ()

If it's a new model then it will save it. If not, it will create a copy of the current model.

public abstract mixed delete ()

Deletes current model.

public abstract mixed reload ()

Updates model data from it's data source.

public bool offsetExists (mixed $offset)

  • $offset

    An offset to check for.

(PHP 5 >= 5.0.0)
Whether a offset exists @link http://php.net/manual/en/arrayaccess.offsetexists.php

public mixed offsetGet (mixed $offset)

  • $offset

    The offset to retrieve.

(PHP 5 >= 5.0.0)
Offset to retrieve @link http://php.net/manual/en/arrayaccess.offsetget.php

public void offsetSet (mixed $offset, mixed $value)

  • $offset

    The offset to assign the value to.

  • $value

    The value to set.

(PHP 5 >= 5.0.0)
Offset to set @link http://php.net/manual/en/arrayaccess.offsetset.php

public void offsetUnset (mixed $offset)

  • $offset

    The offset to unset.

(PHP 5 >= 5.0.0)
Offset to unset @link http://php.net/manual/en/arrayaccess.offsetunset.php